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

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

index 914da426df3616b7a04a724d6358ba9925993c3d..1acc5a8ea7a33551545a59632ecc71a97d19b44d 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,