bpo-40348: Fix typos in the programming FAQ (GH-19729)

This commit is contained in:
Zackery Spytz 2020-04-26 21:23:52 -06:00 committed by GitHub
parent b54e46cb57
commit caf1aadf3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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