bpo-40348: Fix typos in the programming FAQ (GH-19729) · python/cpython@caf1aad

GitHub

Original file line numberDiff line numberDiff line change@@ -1495,8 +1495,8 @@ to uppercase::

1495149514961496Here the ``UpperOut`` class redefines the ``write()`` method to convert the

14971497argument 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>`

15011501for more information about controlling attribute access.

15021502