[New-bugs-announce] [issue40348] Programming FAQ about "What is delegation?": Fix typos
Dominik V.
report at bugs.python.org
Mon Apr 20 17:57:48 EDT 2020
New submission from Dominik V. <dominik.vilsmeier1123 at gmail.com>:
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.
----------
assignee: docs at python
components: Documentation
messages: 366896
nosy: Dominik V., docs at python
priority: normal
severity: normal
status: open
title: Programming FAQ about "What is delegation?": Fix typos
type: enhancement
versions: Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40348>
_______________________________________
More information about the New-bugs-announce
mailing list