This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dominik V.
Recipients Dominik V., docs@python
Date 2020-04-20.21:57:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587419868.54.0.356271490131.issue40348@roundup.psfhosted.org>
In-reply-to
Content
https://docs.python.org/3/faq/programming.html#what-is-delegation

The code example uses `self._outfile` with a single leading underscore, however in the subsequent text it is referred to with a double leading underscore:

* [...] calling the underlying `self.__outfile.write()` method.
* All other methods are delegated to the underlying `self.__outfile` object.

These should be fixed to use a single leading underscore as well.
History
Date User Action Args
2020-04-20 21:57:48Dominik V.setrecipients: + Dominik V., docs@python
2020-04-20 21:57:48Dominik V.setmessageid: <1587419868.54.0.356271490131.issue40348@roundup.psfhosted.org>
2020-04-20 21:57:48Dominik V.linkissue40348 messages
2020-04-20 21:57:48Dominik V.create