A couple new definitions, some more unicode for 2.7 (#185)

* Action.__init__(); ArgumentParser.__init__() & print_help()

* pprint() & pformat()

* added unicode support to url{parse,split,join,defrag}

* add unicode support to requests.api
This commit is contained in:
Michael R. Crusoe
2016-05-06 18:14:49 +02:00
committed by Guido van Rossum
parent eab591bb08
commit 0be5a11496
4 changed files with 51 additions and 25 deletions

View File

@@ -6,15 +6,18 @@ from typing import IO, Any
def pprint(object: Any, stream: IO[str] = ..., indent: int = ..., width: int = ...,
depth: int = ...) -> None: ...
def pformat(object, indent=..., width=..., depth=...): ...
def pformat(object: Any, indent: int =..., width: int =..., depth: int =...) -> str: ...
def saferepr(object): ...
def isreadable(object): ...
def isrecursive(object): ...
class PrettyPrinter:
def __init__(self, indent: int = ..., width: int = ..., depth: int = ...,
stream: IO[str] = ...) -> None: ...
def pprint(self, object): ...
def __init__(self,
indent: int = ...,
width: int = ...,
depth: int = ...,
stream: IO[Any] = ...) -> None: ...
def pprint(self, object: Any) -> str: ...
def pformat(self, object): ...
def isrecursive(self, object): ...
def isreadable(self, object): ...