mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
__all__ for several more modules
This commit is contained in:
parent
81b6ae7ef7
commit
c62c81e013
12 changed files with 35 additions and 0 deletions
|
@ -41,6 +41,8 @@ try:
|
|||
except ImportError:
|
||||
from StringIO import StringIO
|
||||
|
||||
__all__ = ["pprint","pformat","isreadable","isrecursive","saferepr",
|
||||
"PrettyPrinter"]
|
||||
|
||||
def pprint(object, stream=None):
|
||||
"""Pretty-print a Python object to a stream [default is sys.sydout]."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue