From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 14 Mar 2020 22:17:10 +0000 (-0700) Subject: bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) (GH-18898) X-Git-Tag: v3.6.11rc1~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b6756f1283a87091c6186e70b544d4789e12c51;p=thirdparty%2FPython%2Fcpython.git 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> --- diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 914da426df36..1acc5a8ea7a3 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,