reprlib - pydoc - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


Help on module reprlib:

NAME
    reprlib - Redo the builtin repr() (representation) but with limits on most sizes.

MODULE REFERENCE
    https://docs.python.org/3.10/library/reprlib.html

    The following documentation is automatically generated from the Python
    source files.  It may be incomplete, incorrect or include features that
    are considered implementation detail and may vary between Python
    implementations.  When in doubt, consult the module reference at the
    location listed above.

CLASSES
    builtins.object
        Repr

    class Repr(builtins.object)
     |  Methods defined here:
     |
     |  __init__(self)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  repr(self, x)
     |
     |  repr1(self, x, level)
     |
     |  repr_array(self, x, level)
     |
     |  repr_deque(self, x, level)
     |
     |  repr_dict(self, x, level)
     |
     |  repr_frozenset(self, x, level)
     |
     |  repr_instance(self, x, level)
     |
     |  repr_int(self, x, level)
     |
     |  repr_list(self, x, level)
     |
     |  repr_set(self, x, level)
     |
     |  repr_str(self, x, level)
     |
     |  repr_tuple(self, x, level)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

FUNCTIONS
    recursive_repr(fillvalue='...')
        Decorator to make a repr function return fillvalue for a recursive call

    repr(x) method of Repr instance

DATA
    __all__ = ['Repr', 'repr', 'recursive_repr']

FILE
    /usr/lib/python3.10/reprlib.py



Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:14 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!