For review: PEP 308 - If-then-else expression
Fredrik Lundh
fredrik at pythonware.com
Sun Feb 9 05:44:12 EST 2003
More information about the Python-list mailing list
Sun Feb 9 05:44:12 EST 2003
- Previous message (by thread): For review: PEP 308 - If-then-else expression
- Next message (by thread): For review: PEP 308 - If-then-else expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Christian Tismer wrote:
> Could you do the same statistics over the usage of switch
> statements, semicolons, {} braces, and of course MACROS ?
except for the switch/case statement (which is spelled if/elif in
Python), doesn't Python already have all that?
def MACRO(a, b): #{
return (a) + (b);
#}
print MACRO(1, 2);
</F>
- Previous message (by thread): For review: PEP 308 - If-then-else expression
- Next message (by thread): For review: PEP 308 - If-then-else expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list