mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 02:31:09 +08:00
Update stub of str to match documentation. (#893)
This commit is contained in:
1 parent
9a1e8452a3
commit
c048984ab9
1 file changed
+1
-1
@@ -292,7 +292,7 @@ class unicode(basestring, Sequence[unicode]):
|
||||
def __hash__(self) -> int: ...
|
||||
|
||||
class str(basestring, Sequence[str]):
|
||||
def __init__(self, object: object) -> None: ...
|
||||
def __init__(self, object: object='') -> None: ...
|
||||
def capitalize(self) -> str: ...
|
||||
def center(self, width: int, fillchar: str = ...) -> str: ...
|
||||
def count(self, x: unicode) -> int: ...
|
||||
|
||||
Reference in new issue
Block a user