]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40348: Fix typos in the programming FAQ (GH-19729)
authorZackery Spytz <zspytz@gmail.com>
Mon, 27 Apr 2020 03:23:52 +0000 (21:23 -0600)
committerGitHub <noreply@github.com>
Mon, 27 Apr 2020 03:23:52 +0000 (20:23 -0700)
Doc/faq/programming.rst

index 68f9ce811a64151a688b26888a11fb3139099848..61ffc5dbdaa7736d4c4294663b0847c926786445 100644 (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.