Skip to content

Parse Error when multiple statement on one line separate with semicolon #564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gordianknotC opened this issue Jan 27, 2015 · 1 comment
Closed

Comments

@gordianknotC
Copy link

def if_indention(x):
    if not x:       print('x is None');     print('another msg')
    else:           print('x is not None'); print('another msg')

#  line 3: Parse error before "else"
@JukkaL
Copy link
Collaborator

JukkaL commented Jan 28, 2015

This is a bug. There's already an issue for this: #533

@JukkaL JukkaL closed this as completed Jan 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants