Skip to content

Commit cf72358

Browse files
author
shubham
committed
fixing the doc for static functions Issue#23984
1 parent 150cd19 commit cf72358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/descriptor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ calls are unexciting::
359359

360360
>>> class E(object):
361361
... def f(x):
362-
... print(x)
362+
... return(x)
363363
... f = staticmethod(f)
364364
...
365365
>>> print(E.f(3))

0 commit comments

Comments
 (0)