bpo-23984: Improve descriptor documentation (GH-1034) (GH-12459) · python/cpython@cb2d71b (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit cb2d71b

miss-islingtonrhettinger

authored and

committed

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -372,9 +372,9 @@ calls are unexciting::
372 372 ... print(x)
373 373 ... f = staticmethod(f)
374 374 ...
375 - >>> print(E.f(3))
375 + >>> E.f(3)
376 376 3
377 - >>> print(E().f(3))
377 + >>> E().f(3)
378 378 3
379 379
380 380 Using the non-data descriptor protocol, a pure Python version of