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

This commit is contained in:
Miss Islington (bot) 2019-03-22 01:04:21 -07:00 committed by Raymond Hettinger
parent fdd82338a3
commit cb2d71b28e

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