summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorNice Zombies <nineteendo19d0@gmail.com>2024-06-01 21:20:00 (GMT)
committerGitHub <noreply@github.com>2024-06-01 21:20:00 (GMT)
commitc618f7d80e78f83cc24b6bdead33ca38cbd4d27f (patch)
treeff0bfcf47b4416f7578917c99585fc6286e6eb71 /Doc/tutorial
parent53b1981fb0cda6c656069e992f172fc6aad7c99c (diff)
downloadcpython-c618f7d80e78f83cc24b6bdead33ca38cbd4d27f.zip
cpython-c618f7d80e78f83cc24b6bdead33ca38cbd4d27f.tar.gz
cpython-c618f7d80e78f83cc24b6bdead33ca38cbd4d27f.tar.bz2
gh-119016: Remove outdated sentences from the "classes" tutorial (#119130)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Doc/tutorial')
-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