[issue43632] an error in the documentation of descriptor

New submission from 江杉 2353381a@gmail.com:
In this section https://docs.python.org/3.8/howto/descriptor.html#functions-and-methods , there is an error:
the output of CMD 'd.f.__func__' should be same as the output of 'D.__dict__['f']'. Here the former should be '<function D.f at 0x00C45070>', but not '<function D.f at 0x1012e5ae8>'
---------- assignee: docs@python components: Documentation messages: 389545 nosy: 2353381a, docs@python priority: normal severity: normal status: open title: an error in the documentation of descriptor versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue43632 _______________________________________

Change by Karthikeyan Singaravelan tir.karthi@gmail.com:
---------- nosy: +rhettinger
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue43632 _______________________________________

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

Raymond Hettinger raymond.hettinger@gmail.com added the comment:
Thanks for the report.
This has already been fixed for the 3.9 release and later:
https://docs.python.org/3.9/howto/descriptor.html#functions-and-methods
It was minor enough to not warrant a backport to 3.8.
---------- resolution: -> out of date stage: -> resolved status: open -> closed versions: -Python 3.10, Python 3.9
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue43632 _______________________________________
participants (3)
-
Karthikeyan Singaravelan
-
Raymond Hettinger
-
江杉