mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #25523: Merge a-to-an corrections from 3.5.
This commit is contained in:
commit
4a7c03aab4
36 changed files with 43 additions and 43 deletions
|
@ -319,7 +319,7 @@ Non-data descriptors provide a simple mechanism for variations on the usual
|
|||
patterns of binding functions into methods.
|
||||
|
||||
To recap, functions have a :meth:`__get__` method so that they can be converted
|
||||
to a method when accessed as attributes. The non-data descriptor transforms a
|
||||
to a method when accessed as attributes. The non-data descriptor transforms an
|
||||
``obj.f(*args)`` call into ``f(obj, *args)``. Calling ``klass.f(*args)``
|
||||
becomes ``f(*args)``.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue