diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-03-14 15:17:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-14 18:17:10 -0400 |
commit | 6b6756f1283a87091c6186e70b544d4789e12c51 (patch) | |
tree | 7372ff651f0e7428eb5dda31fcc12cba3176369c | |
parent | bpo-39545: Document restrictions on "await" and "async for" in f-strings. (GH... (diff) | |
download | cpython-6b6756f1283a87091c6186e70b544d4789e12c51.tar.gz cpython-6b6756f1283a87091c6186e70b544d4789e12c51.tar.bz2 cpython-6b6756f1283a87091c6186e70b544d4789e12c51.zip |
bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) (GH-18898)
(cherry picked from commit e5e56328afac50aad6d8893185d8e7ba8928afe2)
Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
-rw-r--r-- | Doc/tutorial/classes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 914da426df3..1acc5a8ea7a 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, |