Python Keywords


Table B.1 lists Python's keywords.

Table B.1. Python Keywords[a]

and

as[b]

assert[c]

break

class

continue

def

del

elif

else

except

exec

finally

for

from

global

if

import

in

is

lambda

not

or

pass

print

raise

return

TRy

while

with[b]

yield[d]

None[e]


[a] access keyword obsoleted in Python 1.4.

[b] New in Python 2.6.

[c] New in Python 1.5.

[d] New in Python 2.3.

[e] Not a keyword but made a constant in Python 2.4.



Core Python Programming
Core Python Programming (2nd Edition)
ISBN: 0132269937
EAN: 2147483647
Year: 2004
Pages: 334
Authors: Wesley J Chun

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net