Skip to content

Commit 5a584c8

Browse files
Python Tutorial typo fix (#128077)
1 parent 128cc47 commit 5a584c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/classes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Now what can we do with instance objects? The only operations understood by
325325
instance objects are attribute references. There are two kinds of valid
326326
attribute names: data attributes and methods.
327327

328-
*data attributes* correspond to "instance variables" in Smalltalk, and to "data
328+
*Data attributes* correspond to "instance variables" in Smalltalk, and to "data
329329
members" in C++. Data attributes need not be declared; like local variables,
330330
they spring into existence when they are first assigned to. For example, if
331331
``x`` is the instance of :class:`!MyClass` created above, the following piece of

0 commit comments

Comments
 (0)