[issue43677] Documentation

New submission from Daniel Torres <dto@fastmail.com>: https://github.com/python/cpython/blob/master/Doc/howto/descriptor.rst Section 'Functions and methods' The provided example contains comment 'Emulate Py_MethodType in Objects/classobject.c' But Py_MethodType is nowhere to be found under 'Objects/classobject.c' ---------- assignee: docs@python components: Documentation messages: 389878 nosy: danielcft, docs@python priority: normal severity: normal status: open title: Documentation type: enhancement versions: Python 3.10 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________

Change by Daniel Torres <dto@fastmail.com>: ---------- title: Documentation -> Descriptor Documentation - Reference to Py_MethodType is not up to date _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________

Change by Daniel Torres <dto@fastmail.com>: ---------- title: Descriptor Documentation - Reference to Py_MethodType is not up to date -> Descriptor.rst - Reference to Py_MethodType is not up to date _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________

Eric V. Smith <eric@trueblade.com> added the comment: I think it's PyMethod_Type. ---------- nosy: +eric.smith, rhettinger _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________

Change by Zackery Spytz <zspytz@gmail.com>: ---------- keywords: +patch nosy: +ZackerySpytz nosy_count: 4.0 -> 5.0 pull_requests: +23870 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25123 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________

Change by Raymond Hettinger <raymond.hettinger@gmail.com>: ---------- assignee: docs@python -> rhettinger _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________

Raymond Hettinger <raymond.hettinger@gmail.com> added the comment: New changeset e689cdca3c14aab8d2d454b79ddd661b238fd301 by Zackery Spytz in branch 'master': bpo-43677: Fix a minor error in Doc/howto/descriptor.rst (#25123) https://github.com/python/cpython/commit/e689cdca3c14aab8d2d454b79ddd661b238... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________

Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +23887 pull_request: https://github.com/python/cpython/pull/25140 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________

Raymond Hettinger <raymond.hettinger@gmail.com> added the comment: New changeset d104a786fff5980360056d908a2d952b42306171 by Miss Islington (bot) in branch '3.9': bpo-43677: Fix a minor error in Doc/howto/descriptor.rst (GH-25123) (#25140) https://github.com/python/cpython/commit/d104a786fff5980360056d908a2d952b423... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________

Raymond Hettinger <raymond.hettinger@gmail.com> added the comment: Thanks for the bug report. ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43677> _______________________________________
participants (5)
-
Daniel Torres
-
Eric V. Smith
-
miss-islington
-
Raymond Hettinger
-
Zackery Spytz