From: shallow-beach <96891913+shallow-beach@users.noreply.github.com> Date: Fri, 20 Dec 2024 17:09:56 +0000 (-0800) Subject: Python Tutorial typo fix (#128077) X-Git-Tag: v3.14.0a4~221 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a584c8f54bbeceae7ffa501291e29b7ddc8a0b9;p=thirdparty%2FPython%2Fcpython.git Python Tutorial typo fix (#128077) --- diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 492568961d8a..9d0fab8861d2 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -325,7 +325,7 @@ 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. -*data attributes* correspond to "instance variables" in Smalltalk, and to "data +*Data attributes* correspond to "instance variables" in Smalltalk, and to "data members" in C++. Data attributes need not be declared; like local variables, they spring into existence when they are first assigned to. For example, if ``x`` is the instance of :class:`!MyClass` created above, the following piece of