[New-bugs-announce] [issue43632] an error in the documentation of descriptor

江杉 report at bugs.python.org
Fri Mar 26 07:50:20 EDT 2021


New submission from 江杉 <2353381a at 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 at python
components: Documentation
messages: 389545
nosy: 2353381a, docs at 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 at bugs.python.org>
<https://bugs.python.org/issue43632>
_______________________________________


More information about the New-bugs-announce mailing list