Skip to content

Commit 46b0be4

Browse files
committed
docs: correct the sentence on method objects
1 parent fb08e9a commit 46b0be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/classes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ object, and can be stored away and called at a later time. For example::
367367
while True:
368368
print(xf())
369369

370-
will continue to print ``hello world`` until the end of time or when ``Ctrl + C`` is pressed.
370+
will continue to print ``hello world`` until the end of time.
371371

372372
What exactly happens when a method is called? You may have noticed that
373373
``x.f()`` was called without an argument above, even though the function

0 commit comments

Comments
 (0)