Message366896
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. |
|
Date |
User |
Action |
Args |
2020-04-20 21:57:48 | Dominik V. | set | recipients:
+ Dominik V., docs@python |
2020-04-20 21:57:48 | Dominik V. | set | messageid: <1587419868.54.0.356271490131.issue40348@roundup.psfhosted.org> |
2020-04-20 21:57:48 | Dominik V. | link | issue40348 messages |
2020-04-20 21:57:48 | Dominik V. | create | |
|