[Python-checkins] bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) (GH-18898)
Miss Islington (bot)
webhook-mailer at python.org
Sat Mar 14 18:17:15 EDT 2020
https://github.com/python/cpython/commit/6b6756f1283a87091c6186e70b544d4789e12c51
commit: 6b6756f1283a87091c6186e70b544d4789e12c51
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-03-14T18:17:10-04:00
summary:
bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) (GH-18898)
(cherry picked from commit e5e56328afac50aad6d8893185d8e7ba8928afe2)
Co-authored-by: Antoine <43954001+awecx at users.noreply.github.com>
files:
M Doc/tutorial/classes.rst
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 914da426df361..1acc5a8ea7a33 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,
More information about the Python-checkins
mailing list