Friday, June 22, 2012

Jython keywords


Keywords

The following identifiers are reserved words, or keywords, in Jython.

and       del       for       is        raise
assert    elif      from      lambda    return
break     else      global    not       try
class     except    if        or        while
continue  exec      import    pass
def       finally   in        print

Please also note the following points.
·         A statement must be written on one single line. To split a statement over several lines, you must use the \ (backslash) character.
·         Expressions in parentheses (), square brackets [] or curly braces {} can be split over more than one physical line without using backslashes.
·         Several statements can be written on the same line if they are separated by semicolons (;).
·         A comment begins with a hash character (#) that is not part of a string literal, and continues until the end of the line.

No comments:

Post a Comment