]> 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>
Sat, 14 Mar 2020 22:13:18 +0000 (15:13 -0700)
committerGitHub <noreply@github.com>
Sat, 14 Mar 2020 22:13:18 +0000 (15:13 -0700)
(cherry picked from commit e5e56328afac50aad6d8893185d8e7ba8928afe2)

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

index f781fecf832f080d1efe4c39d7501b5ce49aeab7..06bdd0d93515edd9751da61321448eaa209ff87b 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,