Skip to content

Commit ab916c6

Browse files
authored
Update Doc/tutorial/classes.rst
1 parent 3966245 commit ab916c6

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
@@ -359,7 +359,7 @@ Usually, a method is called right after it is bound::
359359

360360
x.f()
361361

362-
If `x = MyClass()`, as above, this will return the string ``'hello world'``.
362+
If :source:`x = MyClass()`, as above, this will return the string ``'hello world'``.
363363
However, it is not necessary to call a method right away: ``x.f`` is a method
364364
object, and can be stored away and called at a later time. For example::
365365

0 commit comments

Comments
 (0)