summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAntoine <43954001+awecx@users.noreply.github.com>2020-03-10 14:17:40 (GMT)
committerGitHub <noreply@github.com>2020-03-10 14:17:40 (GMT)
commite5e56328afac50aad6d8893185d8e7ba8928afe2 (patch)
tree35d39ab192ba7c059c6ac5f73bbcc6d0f0fb1e21 /Doc
parent00d7cd8ab8db2c1e1f591ade828f88a1a973d70f (diff)
downloadcpython-e5e56328afac50aad6d8893185d8e7ba8928afe2.zip
cpython-e5e56328afac50aad6d8893185d8e7ba8928afe2.tar.gz
cpython-e5e56328afac50aad6d8893185d8e7ba8928afe2.tar.bz2
bpo-39869: Fix typo in 'Instance objects' section. (GH-18889)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/classes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index f781fec..06bdd0d 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -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,