diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-04-27 03:29:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 03:29:30 (GMT) |
commit | 9412f4d1ad28d48d8bb4725f05fd8f8d0daf8cd2 (patch) | |
tree | cd198527b37fb6855911e901cca9db72d134735c | |
parent | ca5649c4c1ab260c8ceb8a57ec703c06e2707986 (diff) | |
download | cpython-9412f4d1ad28d48d8bb4725f05fd8f8d0daf8cd2.zip cpython-9412f4d1ad28d48d8bb4725f05fd8f8d0daf8cd2.tar.gz cpython-9412f4d1ad28d48d8bb4725f05fd8f8d0daf8cd2.tar.bz2 |
bpo-40348: Fix typos in the programming FAQ (GH-19729)
(cherry picked from commit caf1aadf3d020f742ba3d7fcf678ca700224914b)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-rw-r--r-- | Doc/faq/programming.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index 70b11d6..6cc1b52 100644 --- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst @@ -1494,8 +1494,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. |