Commit abbdd1fc authored by Shubham Aggarwal's avatar Shubham Aggarwal Committed by Miss Islington (bot)

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



https://bugs.python.org/issue23984
parent 4a1468e5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment