diff --git a/stdlib/2/pprint.pyi b/stdlib/2/pprint.pyi deleted file mode 100644 index 5275d0313..000000000 --- a/stdlib/2/pprint.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# Stubs for pprint (Python 2) -# -# NOTE: Based on a dynamically typed automatically generated by stubgen. - -from typing import IO, Any - -def pprint(object: Any, stream: IO[str] = ..., indent: int = ..., width: int = ..., - depth: int = ...) -> None: ... -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[Any] = ...) -> None: ... - def pprint(self, object: Any) -> str: ... - def pformat(self, object): ... - def isrecursive(self, object): ... - def isreadable(self, object): ... - def format(self, object, context, maxlevels, level): ... diff --git a/stdlib/3/pprint.pyi b/stdlib/2and3/pprint.pyi similarity index 88% rename from stdlib/3/pprint.pyi rename to stdlib/2and3/pprint.pyi index b846ff905..35da3a3e9 100644 --- a/stdlib/3/pprint.pyi +++ b/stdlib/2and3/pprint.pyi @@ -1,6 +1,7 @@ # Stubs for pprint -# Based on http://docs.python.org/3.2/library/pprint.html +# Based on http://docs.python.org/2/library/pprint.html +# Based on http://docs.python.org/3/library/pprint.html from typing import Any, Dict, Tuple, IO