Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit caf1aad

Browse files
authored
bpo-40348: Fix typos in the programming FAQ (GH-19729)
1 parent b54e46c commit caf1aad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/faq/programming.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,8 +1495,8 @@ to uppercase::
14951495

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

0 commit comments

Comments
 (0)