Message225732
The page on compound statements defines compound statements as:
compound_stmt ::= if_stmt
| while_stmt
| for_stmt
| try_stmt
| with_stmt
| funcdef
| classdef
The full grammar specification on the other hand says:
compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decorated
This accordingly leads to different definitions of funcdef and classdef. This is not necessarily 'incorrect', but for the sake of clarity, it might be better if both pages followed the same conventions. |
|
Date |
User |
Action |
Args |
2014-08-23 05:30:43 | jayanthkoushik | set | recipients:
+ jayanthkoushik, terry.reedy, docs@python, mwilliamson |
2014-08-23 05:30:43 | jayanthkoushik | set | messageid: <1408771843.7.0.945861045826.issue22243@psf.upfronthosting.co.za> |
2014-08-23 05:30:43 | jayanthkoushik | link | issue22243 messages |
2014-08-23 05:30:43 | jayanthkoushik | create | |
|