bpo-23984: Improve descriptor documentation (GH-1034)

https://bugs.python.org/issue23984
This commit is contained in:
Shubham Aggarwal 2019-03-20 08:25:55 +05:30 committed by Miss Islington (bot)
parent 4a1468e593
commit abbdd1fc5c
1 changed files with 2 additions and 2 deletions

View File

@ -372,9 +372,9 @@ calls are unexciting::
... print(x)
... f = staticmethod(f)
...
>>> print(E.f(3))
>>> E.f(3)
3
>>> print(E().f(3))
>>> E().f(3)
3
Using the non-data descriptor protocol, a pure Python version of