Message11816
Behaviour of 2.7.2a1 appears to be as Frank specified in msg6963. Propose we close.
>>> def a main(x): pass
File "<stdin>", line 1
def a main(x): pass
^
SyntaxError: mismatched input 'main' expecting LPAREN
>>> s = "def a main(x): pass"
>>> compile(s, "", 'exec')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "", line 1
def a main(x): pass
^
SyntaxError: mismatched input 'main' expecting LPAREN |
|
Date |
User |
Action |
Args |
2018-03-17 06:23:50 | jeff.allen | set | messageid: <1521267830.32.0.467229070634.issue1866@psf.upfronthosting.co.za> |
2018-03-17 06:23:50 | jeff.allen | set | recipients:
+ jeff.allen, fwierzbicki, smokxx |
2018-03-17 06:23:50 | jeff.allen | link | issue1866 messages |
2018-03-17 06:23:49 | jeff.allen | create | |
|