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:54 | Joshua.Landau | set | recipients: + Joshua.Landau, docs@python |
| 2011年12月23日 15:31:54 | Joshua.Landau | set | messageid: <1324654314.35.0.268617299163.issue13658@psf.upfronthosting.co.za> |
| 2011年12月23日 15:31:53 | Joshua.Landau | link | issue13658 messages |
| 2011年12月23日 15:31:53 | Joshua.Landau | create | |