Skip to content

Commit

Permalink
Python Tutorial typo fix (#128077)
Browse files Browse the repository at this point in the history
  • Loading branch information
shallow-beach authored Dec 20, 2024
1 parent 128cc47 commit 5a584c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/tutorial/classes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a584c8

Please sign in to comment.