Skip to content

Commit cb2d71b

Browse files
miss-islingtonrhettinger
authored andcommitted
bpo-23984: Improve descriptor documentation (GH-1034) (GH-12459)
1 parent fdd8233 commit cb2d71b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/howto/descriptor.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,9 @@ calls are unexciting::
372372
... print(x)
373373
... f = staticmethod(f)
374374
...
375-
>>> print(E.f(3))
375+
>>> E.f(3)
376376
3
377-
>>> print(E().f(3))
377+
>>> E().f(3)
378378
3
379379

380380
Using the non-data descriptor protocol, a pure Python version of

0 commit comments

Comments
 (0)