Lines Matching refs:Called
1229 Called to create a new instance of class *cls*. :meth:`__new__` is a static
1258 Called after the instance has been created (by :meth:`__new__`), but before
1278 Called when the instance is about to be destroyed. This is also called a
1340 Called by the :func:`repr` built-in function to compute the "official" string
1360 Called by :func:`str(object) <str>` and the built-in functions
1379 Called by :ref:`bytes <func-bytes>` to compute a byte-string representation
1390 Called by the :func:`format` built-in function,
1467 Called by built-in function :func:`hash` and for operations on members of
1546 Called to implement truth value testing and the built-in operation
1567 Called when the default attribute access fails with an :exc:`AttributeError`
1587 Called unconditionally to implement attribute accesses for instances of the
1611 Called when an attribute assignment is attempted. This is called instead of
1640 Called when :func:`dir` is called on the object. A sequence must be
1715 Called to get the attribute of the owner class (class attribute access) or
1733 Called to set the attribute on an instance *instance* of the owner class to a
1742 Called to delete the attribute on an instance *instance* of the owner class.
2348 Called when the instance is "called" as a function; if this method is defined,
2397 Called to implement the built-in function :func:`len`. Should return the length
2413 Called to implement :func:`operator.length_hint`. Should return an estimated
2440 Called to implement evaluation of ``self[key]``. For :term:`sequence` types,
2465 Called to implement assignment to ``self[key]``. Same note as for
2474 Called to implement deletion of ``self[key]``. Same note as for
2483 Called by :class:`dict`\ .\ :meth:`__getitem__` to implement ``self[key]`` for dict subclasses
2497 Called (if present) by the :func:`reversed` built-in to implement
2515 Called to implement membership test operators. Should return true if *item*
2648 Called to implement the unary arithmetic operations (``-``, ``+``, :func:`abs`
2661 Called to implement the built-in functions :func:`complex`,
2668 Called to implement :func:`operator.index`, and whenever Python needs to
2686 Called to implement the built-in function :func:`round` and :mod:`math`