Index


_ | a | b | c | d | e | f | g | h | i | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z

_ (underscore)

__abs__() (numeric object method)
__add__() (numeric object method)
__add__() (sequence object method)
__and__() (numeric object method)
__bases__ (class attribute)
__builtin__ (built-in module), [Link], [Link]
__builtins__
__call__() (object method), [Link]
__class__ (instance attribute)
__cmp__() (object method), [Link]
__coerce__() (numeric object method), [Link]
__complex__() (numeric object method)
__debug__
__del__() (object method)
__delattr__() (object method)
__delitem__() (mapping object method)
__delslice__() (sequence object method)
__dict__ (class attribute)
__dict__ (instance attribute), [Link]
__dict__ (module attribute)
__div__() (numeric object method)
__divmod__() (numeric object method)
__doc__ (class attribute)
__doc__ (function attribute)
__doc__ (module attribute)
__file__ (module attribute)
__float__() (numeric object method)
__getattr__() (object method)
__getitem__() (mapping object method), [Link]
__getslice__() (sequence object method)
__hash__() (object method)
__hex__() (numeric object method)
__import__() (built-in function)
__init__() (object method), [Link]
__init__.py
__int__() (numeric object method)
__invert__() (numeric object method)
__len__() (mapping object method), [Link]
__long__() (numeric object method)
__lshift__() (numeric object method)
__main__ (built-in module), [Link], [Link], [Link]
__members__ (built-in object attribute)
__methods__ (built-in object attribute)
__mod__() (numeric object method)
__module__ (class attribute)
__mul__() (numeric object method)
__mul__() (sequence object method)
__name__ (class attribute)
__name__ (function attribute)
__name__ (module attribute)
__neg__() (numeric object method)
__nonzero__() (object method), [Link]
__oct__() (numeric object method)
__or__() (numeric object method)
__pos__() (numeric object method)
__pow__() (numeric object method)
__radd__() (numeric object method)
__radd__() (sequence object method)
__rand__() (numeric object method)
__rdiv__() (numeric object method)
__rdivmod__() (numeric object method)
__repr__() (object method)
__rlshift__() (numeric object method)
__rmod__() (numeric object method)
__rmul__() (numeric object method)
__rmul__() (sequence object method)
__ror__() (numeric object method)
__rpow__() (numeric object method)
__rrshift__() (numeric object method)
__rshift__() (numeric object method)
__rsub__() (numeric object method)
__rxor__() (numeric object method)
__setattr__() (object method), [Link]
__setitem__() (mapping object method)
__setslice__() (sequence object method)
__str__() (object method)
__sub__() (numeric object method)
__xor__() (numeric object method)


A

abs() (built-in function)
addition
and
bit-wise
and operator
anonmymous
function
append() (sequence object method)
argument
function
arithmetic
conversion
operation, binary
operation, unary
array (standard module)
ASCII, [Link], [Link], [Link], [Link], [Link]
assert statement
AssertionError exception
assertions
debugging
assignment
attribute, [Link]
class attribute
assignment (continued)
class instance attribute
slicing
statement, [Link]
subscription
target list
atom
attribute
assignment, [Link]
assignment, class
assignment, class instance
class
class instance
deletion
generic special
reference
special
AttributeError exception


B

back-quotes, [Link]
backslash character
backward
quotes, [Link]
binary
arithmetic operation
bit-wise operation
binding
global name
name, [Link], [Link], [Link], [Link], [Link], [Link]
bit-wise
and
operation, binary
operation, unary
or
xor
blank line
block
code
BNF, [Link]
Boolean
operation
break statement, [Link], [Link], [Link]
bsddb (standard module)
built-in
method
module
name
built-in function
call
built-in function object, [Link]
built-in method
call
built-in method object, [Link]
byte
bytecode


C

C
language, [Link], [Link], [Link], [Link]
call
built-in function
built-in method
class instance
class object, [Link], [Link], [Link]
function, [Link], [Link]
instance, [Link]
method
procedure
user-defined function
callable object, [Link]
chaining
comparisons
character, [Link]
character set
chr() (built-in function), [Link]
class
attribute
attribute assignment
constructor
definition, [Link]
instance
name
class instance
attribute
attribute assignment
call
class instance object, [Link], [Link], [Link]
class object, [Link], [Link], [Link]
call, [Link], [Link], [Link]
clause
clear() (mapping object method)
cmp() (built-in function)
co_argcount (code object attribute)
co_code (code object attribute)
co_consts (code object attribute)
co_filename (code object attribute)
co_firstlineno (code object attribute)
co_flags (code object attribute)
co_lnotab (code object attribute)
co_name (code object attribute)
co_names (code object attribute)
co_nlocals (code object attribute)
co_stacksize (code object attribute)
co_varnames (code object attribute)
code
block
code block, [Link], [Link]
code object
comma
trailing, [Link]
command line
comment
comparison
string
comparisons
chaining
compile() (built-in function)
complex
number
complex() (built-in function)
complex literal
complex object
compound
statement
constant
constructor
class
container, [Link]
continue statement, [Link], [Link], [Link]
conversion
arithmetic
string, [Link], [Link]
copy() (mapping object method)
count() (sequence object method)


D

dangling
else
data
type
type, immutable
datum
dbm (standard module)
debugging
assertions
decimal literal
DEDENT token, [Link]
default
parameter value
definition
class, [Link]
function, [Link]
del statement, [Link], [Link]
delete
deletion
attribute
target
target list
delimiters
destructor, [Link]
dictionary
display
dictionary object, [Link], [Link], [Link], [Link], [Link]
display
dictionary
list
tuple
division
divmod() (built-in function), [Link]
documentation string


E

EBCDIC
elif
keyword
Ellipsis
Ellipsis object
else
dangling
keyword, [Link], [Link], [Link], [Link]
empty
list
tuple, [Link]
error handling
errors
escape sequence
eval() (built-in function), [Link], [Link]
exc_info (in module sys)
exc_traceback (in module sys), [Link]
exc_type (in module sys)
exc_value (in module sys)
except
keyword
exception, [Link]
AssertionError
AttributeError
handler
ImportError, [Link]
exception (continued)
NameError
raising
RuntimeError
SyntaxError
TypeError
ValueError
ZeroDivisionError
exception handler
exclusive
or
exec statement, [Link], [Link]
execfile() (built-in function)
execution
frame, [Link], [Link]
restricted
stack
execution model
expression
lambda
list, [Link], [Link]
statement
extended
slicing
extension
filename
module


F

f_back (frame attribute)
f_builtins (frame attribute)
f_code (frame attribute)
f_exc_traceback (frame attribute)
f_exc_type (frame attribute)
f_exc_value (frame attribute)
f_globals (frame attribute)
f_lasti (frame attribute)
f_lineno (frame attribute)
f_locals (frame attribute)
f_restricted (frame attribute)
f_trace (frame attribute)
file object, [Link]
filename
extension
finally
keyword, [Link], [Link], [Link]
float() (built-in function)
floating point
number
floating point literal
floating point object
for statement, [Link], [Link]
form
lambda, [Link]
frame
execution, [Link], [Link]
frame object
from
keyword, [Link]
from statement, [Link]
func_code (function attribute)
func_defaults (function attribute)
func_doc (function attribute)
func_globals (function attribute)
function
anonmymous
argument
call, [Link], [Link]
call, user-defined
definition, [Link]
name
user-defined
function object, [Link], [Link], [Link], [Link]


G

garbage collection
gdbm (standard module)
generic
special attribute
get() (mapping object method)
global
name
name binding
global (continued)
namespace, [Link]
global statement, [Link], [Link], [Link], [Link], [Link], [Link]
globals() (built-in function)
grammar
grouping


H

handle an exception
handler
exception
has_key() (mapping object method)
hash() (built-in function)
hash character
hex() (built-in function)
hexadecimal literal
hierarchical
module names
hierarchy
type


I

id() (built-in function)
identifier, [Link]
identity
test
identity of an object
if statement
im_class (method attribute)
im_func (method attribute), [Link]
im_self (method attribute), [Link]
imaginary literal
immutable
data type
object, [Link]
immutable object, [Link]
immutable sequence object
import statement, [Link]
ImportError exception, [Link]
importing
module
in
keyword
in operator
inclusive
or
INDENT token
indentation
index() (sequence object method)
index operation
inheritance
initialization
module
input
raw
input() (built-in function)
insert() (sequence object method)
instance
call, [Link]
class
instance object, [Link], [Link], [Link]
int() (built-in function)
integer
representation
integer literal
integer object
interactive mode
internal type
interpreter
inversion
invocation
is not operator
is operator
item
sequence
string
item selection
items() (mapping object method)


K

key
key/datum pair
keys() (mapping object method)
keyword
elif
keyword (continued)
else, [Link], [Link], [Link], [Link]
except
finally, [Link], [Link], [Link]
from, [Link]
in


L

lambda
expression
form, [Link]
language
C, [Link], [Link], [Link], [Link]
Pascal
last_traceback (in module sys)
leading whitespace
len() (built-in function), [Link], [Link]
lexical analysis
lexical definitions
line continuation
line joining, [Link]
line structure
list
assignment, target
deletion target
display
list (continued)
empty
expression, [Link], [Link]
target, [Link]
list object, [Link], [Link], [Link], [Link], [Link]
literal, [Link]
local
namespace
locals() (built-in function)
logical line
long() (built-in function)
long integer literal
long integer object
loop
over mutable sequence
statement, [Link], [Link], [Link]
loop control
target


M

makefile() (socket method)
mangling
name
mapping object, [Link], [Link], [Link]
membership
test
method
built-in
call
user-defined
method object, [Link], [Link]
minus
module
built-in
extension
importing
initialization
module (continued)
name
names, hierarchical
namespace
search path
user-defined
module object, [Link]
modules (in module sys)
modulo
multiplication
mutable object, [Link], [Link], [Link], [Link]
mutable sequece object
mutable sequence
loop over


N

name, [Link]
binding, [Link], [Link], [Link], [Link], [Link], [Link]
binding, global
built-in
class
function
global
mangling
module
rebinding, [Link]
unbinding, [Link]
NameError exception
names
hierarchical module
private
namespace, [Link]
global, [Link]
namespace (continued)
local
module
negation
newline
suppression
NEWLINE token, [Link]
None, [Link]
None object
not in operator
not operator
notation
null
operation
number
complex
floating point
numeric literal
numeric object, [Link]


O

object
built-in function, [Link]
built-in method, [Link]
callable, [Link]
class, [Link], [Link], [Link]
class instance, [Link], [Link], [Link]
code
complex
dictionary, [Link], [Link], [Link], [Link], [Link]
Ellipsis
file, [Link]
floating point
frame
function, [Link], [Link], [Link], [Link]
immutable, [Link], [Link]
immutable sequence
instance, [Link], [Link], [Link]
integer
list, [Link], [Link], [Link], [Link], [Link]
long integer
mapping, [Link], [Link], [Link]
method, [Link], [Link]
module, [Link]
mutable, [Link], [Link], [Link]
mutable sequece
None
numeric, [Link]
plain integer
recursive
sequence, [Link], [Link], [Link], [Link], [Link], [Link]
string, [Link], [Link]
object (continued)
traceback, [Link], [Link]
tuple, [Link], [Link], [Link]
user-defined function, [Link], [Link]
user-defined method
oct() (built-in function)
octal literal
open() (built-in function)
operation
binary arithmetic
binary bit-wise
Boolean
null
shifting
unary arithmetic
unary bit-wise
operator
and
in
is
is not
not
not in
or
precedence
operators
or
bit-wise
exclusive
inclusive
or operator
ord() (built-in function), [Link]
output, [Link]
standard, [Link]
OverflowError (built-in exception)


P

packages
parameter
value, default
parenthesized form
parser
Pascal
language
pass statement
path
module search
physical line, [Link], [Link]
plain integer literal
plain integer object
plus
pop() (sequence object method)
popen() (in module os)
pow() (built-in function), [Link], [Link], [Link]
precedence
operator
primary
print statement, [Link]
private
names
procedure
call
program


Q

quotes
backward, [Link]
quotes (continued)
reverse, [Link]


R

raise an exception
raise statement
raising
exception
range() (built-in function)
raw input
raw string
raw_input() (built-in function)
readline() (file method)
rebinding
name, [Link]
recursive object
reference
attribute
reference counting
remove() (sequence object method)
repr() (built-in function), [Link], [Link]
representation
integer
reserved word
restricted
execution
return statement, [Link]
reverse
quotes, [Link]
reverse() (sequence object method)
RuntimeError exception


S

search
path, module
sequence
item
sequence object, [Link], [Link], [Link], [Link], [Link], [Link]
shifting
operation
simple
statement
singleton
tuple
slice
slice() (built-in function)
slicing, [Link], [Link]
assignment
extended
sort() (sequence object method)
space
special
attribute
attribute, generic
stack
execution
trace
standard
output, [Link]
Standard C
standard input
start (slice object attribute), [Link]
statement
assert
assignment, [Link]
break, [Link], [Link], [Link]
compound
continue, [Link], [Link], [Link]
del, [Link], [Link]
exec, [Link], [Link]
expression
for, [Link], [Link]
from, [Link]
global, [Link], [Link], [Link], [Link], [Link], [Link]
if
import, [Link]
loop, [Link], [Link], [Link]
statement (continued)
pass
print, [Link]
raise
return, [Link]
simple
try, [Link]
while, [Link], [Link]
statement grouping
stderr (in module sys)
stdin (in module sys)
stdio
stdout (in module sys), [Link]
step (slice object attribute), [Link]
stop (slice object attribute), [Link]
str() (built-in function), [Link]
string
comparison
conversion, [Link], [Link]
item
string literal
string object, [Link], [Link]
subscription, [Link], [Link], [Link]
assignment
subtraction
suite
suppression
newline
syntax, [Link]
SyntaxError exception
sys (built-in module), [Link], [Link], [Link]
sys.exc_info
sys.exc_traceback
sys.last_traceback
sys.modules
sys.stderr
sys.stdin
sys.stdout


T

tab
target
deletion
list, [Link]
list assignment
list, deletion
loop control
tb_frame (traceback attribute)
tb_lasti (traceback attribute)
tb_lineno (traceback attribute)
tb_next (traceback attribute)
termination model
test
identity
membership
token
trace
stack
traceback object, [Link], [Link]
trailing
comma, [Link]
triple-quoted string
try statement, [Link]
tuple
display
empty, [Link]
singleton
tuple object, [Link], [Link], [Link]
type
data
hierarchy
immutable data
type() (built-in function)
type of an object
TypeError exception
types, internal


U

unary
arithmetic operation
bit-wise operation
unbinding
name, [Link]
UNIX
unreachable object
unrecognized escape sequence
update() (mapping object method)
user-defined
function
function call
method
module
user-defined function object, [Link], [Link]
user-defined method object


V

value
default parameter
value of an object
ValueError exception
values
writing, [Link]
values() (mapping object method)


W

while statement, [Link], [Link]
whitespace
writing
values, [Link]


X

xor
bit-wise


Z

ZeroDivisionError exception


Send comments on this document to python-docs@python.org.