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.

classification
Title: Programming FAQ about "What is delegation?": Fix typos
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.9, Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Dominik V., ZackerySpytz, docs@python, eric.araujo, iritkatriel, miss-islington
Priority: normal Keywords: patch

Created on 2020-04-20 21:57 by Dominik V., last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 19729 merged ZackerySpytz, 2020-04-27 02:39
PR 19730 merged miss-islington, 2020-04-27 03:24
PR 19731 merged miss-islington, 2020-04-27 03:24
Messages (6)
msg366896 - (view) Author: Dominik Vilsmeier (Dominik V.) * Date: 2020-04-20 21:57
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.
msg367213 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2020-04-24 19:29
Thanks!  Would you like to make the changes yourself?
msg367365 - (view) Author: miss-islington (miss-islington) Date: 2020-04-27 03:24
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/caf1aadf3d020f742ba3d7fcf678ca700224914b
msg367368 - (view) Author: miss-islington (miss-islington) Date: 2020-04-27 03:29
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/25def5f2187154ccb6d75751f395a949f4726b1c
msg367370 - (view) Author: miss-islington (miss-islington) Date: 2020-04-27 03:29
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/9412f4d1ad28d48d8bb4725f05fd8f8d0daf8cd2
msg377902 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2020-10-03 20:01
This issue can be closed.
History
Date User Action Args
2022-04-11 14:59:29adminsetgithub: 84528
2020-10-04 00:17:04rhettingersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2020-10-03 20:01:32iritkatrielsetnosy: + iritkatriel
messages: + msg377902
2020-04-27 03:29:37miss-islingtonsetmessages: + msg367370
2020-04-27 03:29:10miss-islingtonsetmessages: + msg367368
2020-04-27 03:24:13miss-islingtonsetpull_requests: + pull_request19053
2020-04-27 03:24:06miss-islingtonsetpull_requests: + pull_request19052
2020-04-27 03:24:00miss-islingtonsetnosy: + miss-islington
messages: + msg367365
2020-04-27 02:39:18ZackerySpytzsetkeywords: + patch
nosy: + ZackerySpytz

pull_requests: + pull_request19051
stage: patch review
2020-04-24 19:29:41eric.araujosetnosy: + eric.araujo
messages: + msg367213
2020-04-20 21:57:48Dominik V.create