[Python-checkins] bpo-39869: Fix typo in 'Instance objects' section. (GH-18889)

Antoine webhook-mailer at python.org
Tue Mar 10 10:17:45 EDT 2020


https://github.com/python/cpython/commit/e5e56328afac50aad6d8893185d8e7ba8928afe2
commit: e5e56328afac50aad6d8893185d8e7ba8928afe2
branch: master
author: Antoine <43954001+awecx at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-03-10T07:17:40-07:00
summary:

bpo-39869: Fix typo in 'Instance objects' section. (GH-18889)

files:
M Doc/tutorial/classes.rst

diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index f781fecf832f0..06bdd0d93515e 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