Skip to content

Commit 4e3d752

Browse files
Simpler clarification of the reference
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
1 parent 8d751c7 commit 4e3d752

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
@@ -344,7 +344,7 @@ function that "belongs to" an object.
344344

345345
Valid method names of an instance object depend on its class. By definition,
346346
all attributes of a class that are function objects define corresponding
347-
methods of its instances. So in our previous example (first example in :ref:`tut-classobjects`), ``x.f`` is a valid method
347+
methods of its instances. So in our :ref:`previous example <tut-classobjects>`, ``x.f`` is a valid method
348348
reference, since ``MyClass.f`` is a function, but ``x.i`` is not, since
349349
``MyClass.i`` is not. But ``x.f`` is not the same thing as ``MyClass.f`` --- it
350350
is a *method object*, not a function object.

0 commit comments

Comments
 (0)