Update stub of str to match documentation. (#893)

This commit is contained in:
Lucas Wiman
2017-01-29 10:14:32 -08:00
committed by Guido van Rossum
parent 9a1e8452a3
commit c048984ab9

View File

@@ -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: ...