💾 Archived View for tris.fyi › pydoc › reprlib captured on 2023-01-29 at 03:29:57. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
Redo the builtin repr() (representation) but with limits on most sizes.
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)
islice(iterable, stop) --> islice object islice(iterable, start, stop[, step]) --> islice object Return an iterator whose next() method returns selected values from an iterable. If start is specified, will skip all preceding elements; otherwise, start defaults to zero. Step defaults to one. If specified as another value, step determines how many values are skipped between successive calls. Works like a slice() on a list but returns an iterator.
get_ident(...) get_ident() -> integer Return a non-zero integer that uniquely identifies the current thread amongst other threads that exist simultaneously. This may be used to identify per-thread resources. Even though on some platforms threads identities may appear to be allocated consecutive numbers starting at 1, this behavior should not be relied upon, and the number should be seen purely as a magic cookie. A thread's identity may be reused for another thread after it exits.
recursive_repr(fillvalue='...') Decorator to make a repr function return fillvalue for a recursive call
repr(x)
aRepr = <reprlib.Repr object at 0x7f75e3ba98a0>