bpo-6761: Enhance __call__ documentation (GH-7987)

This commit is contained in:
Andre Delfino 2020-10-27 13:18:57 -03:00 committed by GitHub
parent 37834136d0
commit 95f710c557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2168,7 +2168,7 @@ Emulating callable objects
.. index:: pair: call; instance .. index:: pair: call; instance
Called when the instance is "called" as a function; if this method is defined, Called when the instance is "called" as a function; if this method is defined,
``x(arg1, arg2, ...)`` is a shorthand for ``x.__call__(arg1, arg2, ...)``. ``x(arg1, arg2, ...)`` roughly translates to ``type(x).__call__(x, arg1, ...)``.
.. _sequence-types: .. _sequence-types: