https://github.com/python/cpython/commit/5a584c8f54bbeceae7ffa501291e29b7ddc8a0b9
commit: 5a584c8f54bbeceae7ffa501291e29b7ddc8a0b9
branch: main
author: shallow-beach <[email protected]>
committer: cfbolz <[email protected]>
date: 2024-12-20T18:09:56+01:00
summary:

Python Tutorial typo fix (#128077)

files:
M Doc/tutorial/classes.rst

diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 492568961d8a51..9d0fab8861d2a9 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to