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: descriptor howto: typo in "Definition and introduction"
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: diegoe, docs@python, miss-islington, rhettinger
Priority: normal Keywords: patch

Created on 2021-01-31 07:56 by diegoe, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 24394 merged diegoe, 2021-01-31 08:07
PR 24427 merged miss-islington, 2021-02-03 03:29
Messages (4)
msg386011 - (view) Author: (diegoe) * Date: 2021-01-31 07:56
In
  https://docs.python.org/3.10/howto/descriptor.html#definition-and-introduction

The paragraph reads:
"""
Definition and introduction

In general, a descriptor is an attribute value that has one of the methods in the descriptor protocol. Those methods are __get__(), __set__(), and __delete__(). If any of those methods are defined for an the attribute, it is said to be a descriptor.
"""

I believe it should be either "an attribute" or "the attribute" in the last sentence. Probably missed it because both options would read fine.
msg386176 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2021-02-03 03:28
New changeset a98fe02d735e7bfe369fc5ce6efb6c9d82adf3b7 by diegoe in branch 'master':
bpo-43082: Remove redundant 'the' in Descriptor howto (GH-24394)
https://github.com/python/cpython/commit/a98fe02d735e7bfe369fc5ce6efb6c9d82adf3b7
msg386177 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2021-02-03 03:33
New changeset f02ef7afcf67db52f169f809a1b0babb80ec8370 by Miss Islington (bot) in branch '3.9':
bpo-43082: Remove redundant 'the' in Descriptor howto (GH-24394) (GH-24427)
https://github.com/python/cpython/commit/f02ef7afcf67db52f169f809a1b0babb80ec8370
msg386178 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2021-02-03 03:34
Thank you.
History
Date User Action Args
2022-04-11 14:59:40adminsetgithub: 87248
2021-02-03 03:34:11rhettingersetstatus: open -> closed
resolution: fixed
messages: + msg386178

stage: patch review -> resolved
2021-02-03 03:33:41rhettingersetmessages: + msg386177
2021-02-03 03:29:03miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request23237
2021-02-03 03:28:57rhettingersetmessages: + msg386176
2021-01-31 09:47:37rhettingersetassignee: docs@python -> rhettinger

nosy: + rhettinger
2021-01-31 08:07:53diegoesetkeywords: + patch
stage: patch review
pull_requests: + pull_request23208
2021-01-31 07:56:59diegoecreate