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.

Author Joshua.Landau
Recipients Joshua.Landau, docs@python
Date 2011-12-23.15:31:53
SpamBayes Score 0.0051188767
Marked as misclassified No
Message-id <1324654314.35.0.268617299163.issue13658@psf.upfronthosting.co.za>
In-reply-to
Content
Inside the grammar for classes[1], the documentation states that the inheritance list can be of type:
"(" [argument_list [","] | comprehension] ")"

The "comprehension" part seems to be superfluous, especially as it is valid grammar without the clause.

The 2.7 docs state just "[expression list]", so either the addition should be justified or the extra clause removed.

[1] http://docs.python.org/py3k/reference/compound_stmts.html#grammar-token-classdef

Please see http://mail.python.org/pipermail/python-list/2011-December/1284989.html for discussion.
History
Date User Action Args
2011-12-23 15:31:54Joshua.Landausetrecipients: + Joshua.Landau, docs@python
2011-12-23 15:31:54Joshua.Landausetmessageid: <1324654314.35.0.268617299163.issue13658@psf.upfronthosting.co.za>
2011-12-23 15:31:53Joshua.Landaulinkissue13658 messages
2011-12-23 15:31:53Joshua.Landaucreate