]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Python Tutorial typo fix (#128077)
authorshallow-beach <96891913+shallow-beach@users.noreply.github.com>
Fri, 20 Dec 2024 17:09:56 +0000 (09:09 -0800)
committerGitHub <noreply@github.com>
Fri, 20 Dec 2024 17:09:56 +0000 (18:09 +0100)
Doc/tutorial/classes.rst

index 492568961d8a513d25b03b0312606e825b3ba370..9d0fab8861d2a96ff8e6600f0807651845ab1d4d 100644 (file)
@@ -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