]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39869: Fix typo in 'Instance objects' section. (GH-18889)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Mar 2020 14:25:42 +0000 (07:25 -0700)
committerGitHub <noreply@github.com>
Tue, 10 Mar 2020 14:25:42 +0000 (07:25 -0700)
(cherry picked from commit e5e56328afac50aad6d8893185d8e7ba8928afe2)

Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
Doc/tutorial/classes.rst

index 5160145f4fba2eeca5188e828ad33a409086a2d6..26c4461b0f0e10b22b8214d276b811c1e9abd3e3 100644 (file)
@@ -323,7 +323,7 @@ Instance Objects
 
 Now what can we do with instance objects?  The only operations understood by
 instance objects are attribute references.  There are two kinds of valid
-attribute names, data attributes and methods.
+attribute names: data attributes and methods.
 
 *data attributes* correspond to "instance variables" in Smalltalk, and to "data
 members" in C++.  Data attributes need not be declared; like local variables,