mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 14:55:50 +08:00
Improve stubs for sequence types (#6386)
This commit is contained in:
1 parent
6130c2459e
commit
98af7d667f
9 files changed
+32
-29
No files matched your search
@@ -27,7 +27,7 @@ class Markup(text_type):
|
||||
def format(self, *args: Any, **kwargs: Any) -> Markup: ...
|
||||
def __html_format__(self, format_spec: text_type) -> Markup: ...
|
||||
def __getslice__(self, start: int, stop: int) -> Markup: ...
|
||||
def __getitem__(self, i: int | slice) -> Markup: ...
|
||||
def __getitem__(self, i: SupportsIndex | slice) -> Markup: ...
|
||||
def capitalize(self) -> Markup: ...
|
||||
def title(self) -> Markup: ...
|
||||
def lower(self) -> Markup: ...
|
||||
|
||||
Reference in new issue
Block a user