https://github.com/python/cpython/commit/edb6883ef3f7a8ef0c8313dd3a8fd3ccff3b4770
commit: edb6883ef3f7a8ef0c8313dd3a8fd3ccff3b4770
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: AlexWaygood <[email protected]>
date: 2024-06-01T21:35:03Z
summary:

[3.13] gh-119016: Remove outdated sentences from the "classes" tutorial 
(GH-119130) (#119925)

Co-authored-by: Nice Zombies <[email protected]>
Co-authored-by: Alex Waygood <[email protected]>

files:
M Doc/tutorial/classes.rst

diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 7ab528acb370f2..1b64741c349ee9 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
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to