[issue21415] Python __new__ method doc typo (it's a class and not a static method)

Jurko Gospodnetić report at bugs.python.org
Fri May 2 12:29:57 CEST 2014


New submission from Jurko Gospodnetić:

Doc/reference/datamodel.rst documentation states that
the __new__ method is a static method (in Python, not
in C!) when it is in fact a class method.

A patch has been prepared in the
https://bitbucket.org/jurko/cpython repository.
branch: datamodel_doc_typo_fix
commit: 81c5ba188805e42292c3eb9cffa56fbd5b7c6aee

But it'll probably be easier for you to just change
that single word directly. :-D

Hope this helps.

Best regards,
  Jurko Gospodnetić

----------
assignee: docs at python
components: Documentation
hgrepos: 245
messages: 217748
nosy: Jurko.Gospodnetić, docs at python
priority: normal
severity: normal
status: open
title: Python __new__ method doc typo (it's a class and not a static method)
type: enhancement
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21415>
_______________________________________


More information about the Python-bugs-list mailing list