[issue40348] Programming FAQ about "What is delegation?": Fix typos
New submission from Dominik V. <dominik.vilsmeier1123@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@python components: Documentation messages: 366896 nosy: Dominik V., docs@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@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
Éric Araujo <merwok@netwok.org> added the comment: Thanks! Would you like to make the changes yourself? ---------- nosy: +eric.araujo _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
Change by Zackery Spytz <zspytz@gmail.com>: ---------- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +19051 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19729 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset caf1aadf3d020f742ba3d7fcf678ca700224914b by Zackery Spytz in branch 'master': bpo-40348: Fix typos in the programming FAQ (GH-19729) https://github.com/python/cpython/commit/caf1aadf3d020f742ba3d7fcf678ca70022... ---------- nosy: +miss-islington _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +19052 pull_request: https://github.com/python/cpython/pull/19730 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +19053 pull_request: https://github.com/python/cpython/pull/19731 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset 25def5f2187154ccb6d75751f395a949f4726b1c by Miss Islington (bot) in branch '3.7': bpo-40348: Fix typos in the programming FAQ (GH-19729) https://github.com/python/cpython/commit/25def5f2187154ccb6d75751f395a949f47... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset 9412f4d1ad28d48d8bb4725f05fd8f8d0daf8cd2 by Miss Islington (bot) in branch '3.8': bpo-40348: Fix typos in the programming FAQ (GH-19729) https://github.com/python/cpython/commit/9412f4d1ad28d48d8bb4725f05fd8f8d0da... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
Irit Katriel <iritkatriel@yahoo.com> added the comment: This issue can be closed. ---------- nosy: +iritkatriel _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
Change by Raymond Hettinger <raymond.hettinger@gmail.com>: ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40348> _______________________________________
participants (6)
-
Dominik V.
-
Irit Katriel
-
miss-islington
-
Raymond Hettinger
-
Zackery Spytz
-
Éric Araujo