Skip to content

Commit 9412f4d

Browse files
bpo-40348: Fix typos in the programming FAQ (GH-19729)
(cherry picked from commit caf1aad) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
1 parent ca5649c commit 9412f4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Doc/faq/programming.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1494,8 +1494,8 @@ to uppercase::
14941494

14951495
Here the ``UpperOut`` class redefines the ``write()`` method to convert the
14961496
argument string to uppercase before calling the underlying
1497-
``self.__outfile.write()`` method. All other methods are delegated to the
1498-
underlying ``self.__outfile`` object. The delegation is accomplished via the
1497+
``self._outfile.write()`` method. All other methods are delegated to the
1498+
underlying ``self._outfile`` object. The delegation is accomplished via the
14991499
``__getattr__`` method; consult :ref:`the language reference <attribute-access>`
15001500
for more information about controlling attribute access.
15011501

0 commit comments

Comments
 (0)