summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-01 21:26:07 (GMT)
committerGitHub <noreply@github.com>2024-06-01 21:26:07 (GMT)
commite57a4a19a11672829da71e1963802aa17fddf4f1 (patch)
treeaadebcb0ffb97cdd66dc2561e1b9cbdc90f82dab /Doc
parent46545d3244f341fb341a8b0bbc39583a7a6a16ee (diff)
downloadcpython-e57a4a19a11672829da71e1963802aa17fddf4f1.zip
cpython-e57a4a19a11672829da71e1963802aa17fddf4f1.tar.gz
cpython-e57a4a19a11672829da71e1963802aa17fddf4f1.tar.bz2
[3.12] gh-119016: Remove outdated sentences from the "classes" tutorial (GH-119130) (#119926)
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/classes.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 7ab528a..1b64741 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -338,11 +338,7 @@ code will print the value ``16``, without leaving a trace::
del x.counter
The other kind of instance attribute reference is a *method*. A method is a
-function that "belongs to" an object. (In Python, the term method is not unique
-to class instances: other object types can have methods as well. For example,
-list objects have methods called append, insert, remove, sort, and so on.
-However, in the following discussion, we'll use the term method exclusively to
-mean methods of class instance objects, unless explicitly stated otherwise.)
+function that "belongs to" an object.
.. index:: pair: object; method