diff options
author | Andre Delfino <adelfino@gmail.com> | 2020-10-27 16:18:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 16:18:57 (GMT) |
commit | 95f710c55714153f0c8cce48f8215bb3d866ac1d (patch) | |
tree | 5320825287884b5df95208cba3606e75095eec9b /Doc | |
parent | 37834136d0afe51d274bfc79d8705514cbe73727 (diff) | |
download | cpython-95f710c55714153f0c8cce48f8215bb3d866ac1d.zip cpython-95f710c55714153f0c8cce48f8215bb3d866ac1d.tar.gz cpython-95f710c55714153f0c8cce48f8215bb3d866ac1d.tar.bz2 |
bpo-6761: Enhance __call__ documentation (GH-7987)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index d92e197..c882301 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -2168,7 +2168,7 @@ Emulating callable objects .. index:: pair: call; instance 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: |