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: datamodel documentation confuses staticmethod with classmethod
Type: Stage:
Components: Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: segfaulthunter
Priority: normal Keywords: patch

Created on 2009-06-13 14:13 by segfaulthunter, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg89331 - (view) Author: Florian Mayer (segfaulthunter) Date: 2009-06-13 14:13
I think it is confusing that the datamodel documentation says __new__ is
a staticmethod while it actually is a classmethod (as it takes the class
as its first argument). Patch supplied.
msg89346 - (view) Author: Florian Mayer (segfaulthunter) Date: 2009-06-14 11:50
Sorry, my fault.
History
Date User Action Args
2022-04-11 14:56:50adminsetgithub: 50528
2009-06-14 11:50:42segfaulthuntersetfiles: - datamodel.rst.patch
2009-06-14 11:50:35segfaulthuntersetstatus: open -> closed

messages: + msg89346
2009-06-13 14:13:47segfaulthuntercreate