From 4e3d7524745d51d18dc6d9d0d0934cb16a3e4943 Mon Sep 17 00:00:00 2001 From: Gabriel Enrique Ambrosini Cabrera Date: Sat, 24 Jan 2026 23:53:15 -0500 Subject: [PATCH] Simpler clarification of the reference Co-authored-by: Peter Bierma --- Doc/tutorial/classes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 6d280d155f3..df94d036d3b 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -344,7 +344,7 @@ function that "belongs to" an object. Valid method names of an instance object depend on its class. By definition, all attributes of a class that are function objects define corresponding -methods of its instances. So in our previous example (first example in :ref:`tut-classobjects`), ``x.f`` is a valid method +methods of its instances. So in our :ref:`previous example `, ``x.f`` is a valid method reference, since ``MyClass.f`` is a function, but ``x.i`` is not, since ``MyClass.i`` is not. But ``x.f`` is not the same thing as ``MyClass.f`` --- it is a *method object*, not a function object.