From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 10 Mar 2020 14:25:42 +0000 (-0700) Subject: bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) X-Git-Tag: v3.7.8rc1~158 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b29a82b13b65ca785bf296c91f253f3b5d6d694;p=thirdparty%2FPython%2Fcpython.git bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) (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 5160145f4fba..26c4461b0f0e 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,