Skip to content

Commit 25def5f

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 70ba814 commit 25def5f

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
@@ -1501,8 +1501,8 @@ to uppercase::
15011501

15021502
Here the ``UpperOut`` class redefines the ``write()`` method to convert the
15031503
argument string to uppercase before calling the underlying
1504-
``self.__outfile.write()`` method. All other methods are delegated to the
1505-
underlying ``self.__outfile`` object. The delegation is accomplished via the
1504+
``self._outfile.write()`` method. All other methods are delegated to the
1505+
underlying ``self._outfile`` object. The delegation is accomplished via the
15061506
``__getattr__`` method; consult :ref:`the language reference <attribute-access>`
15071507
for more information about controlling attribute access.
15081508

0 commit comments

Comments
 (0)