Improve stubs for sequence types (#6386)

This commit is contained in:
Alex Waygood authored and GitHub committed 2021-11-26 19:09:38 -08:00
1 parent 6130c2459e
commit 98af7d667f
9 files changed
+32 -29

No files matched your search

+1 -1
View File
@@ -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: ...