summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-04-27 03:23:52 (GMT)
committerGitHub <noreply@github.com>2020-04-27 03:23:52 (GMT)
commitcaf1aadf3d020f742ba3d7fcf678ca700224914b (patch)
tree92747991db4610f8985a47c23eb75a01f183dc21 /Doc
parentb54e46cb57ebac5c525a9a6be241412cd57bc935 (diff)
downloadcpython-caf1aadf3d020f742ba3d7fcf678ca700224914b.zip
cpython-caf1aadf3d020f742ba3d7fcf678ca700224914b.tar.gz
cpython-caf1aadf3d020f742ba3d7fcf678ca700224914b.tar.bz2
bpo-40348: Fix typos in the programming FAQ (GH-19729)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/faq/programming.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index 68f9ce8..61ffc5d 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -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.