Why aren't colons optional?
Mark McEahern
marklists at mceahern.com
Sat Jan 19 18:27:16 EST 2002
More information about the Python-list mailing list
Sat Jan 19 18:27:16 EST 2002
- Previous message (by thread): Why aren't colons optional?
- Next message (by thread): Why aren't colons optional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Edward K. Ream wrote: > Why are colons required after def, elif, else, except, finally, for, if, > try and while? One would think the colon would be optional when the > colon is followed by a newline. Because we're all masochists and love to inflict the pain of unnecessary typing on ourselves. Cheers, // mark
- Previous message (by thread): Why aren't colons optional?
- Next message (by thread): Why aren't colons optional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list