Python Tutorial typo fix (#128077)

This commit is contained in:
shallow-beach 2024-12-20 09:09:56 -08:00 committed by GitHub
parent 128cc47fbd
commit 5a584c8f54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View 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 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 *Data attributes* correspond to "instance variables" in Smalltalk, and to "data
members" in C++. Data attributes need not be declared; like local variables, 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 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 ``x`` is the instance of :class:`!MyClass` created above, the following piece of