René's URL Explorer Experiment
go
Title:
5. Expressions — Python v3.2.6 documentation
direct link
Domain:
docs.python.org
None
text/html; charset=utf-8
Links
:
index
https://docs.python.org/3.2/genindex.html
modules
https://docs.python.org/3.2/py-modindex.html
next
https://docs.python.org/3.2/reference/simple_stmts.html
previous
https://docs.python.org/3.2/reference/executionmodel.html
Python
http://www.python.org/
3.2.6 Documentation
https://docs.python.org/3.2/index.html
The Python Language Reference
https://docs.python.org/3.2/reference/index.html
¶
https://docs.python.org/3.2/reference/expressions.html#expressions
¶
https://docs.python.org/3.2/reference/expressions.html#arithmetic-conversions
¶
https://docs.python.org/3.2/reference/expressions.html#atoms
identifier
https://docs.python.org/3.2/reference/lexical_analysis.html#grammar-token-identifier
literal
https://docs.python.org/3.2/reference/expressions.html#grammar-token-literal
enclosure
https://docs.python.org/3.2/reference/expressions.html#grammar-token-enclosure
parenth_form
https://docs.python.org/3.2/reference/expressions.html#grammar-token-parenth_form
list_display
https://docs.python.org/3.2/reference/expressions.html#grammar-token-list_display
dict_display
https://docs.python.org/3.2/reference/expressions.html#grammar-token-dict_display
set_display
https://docs.python.org/3.2/reference/expressions.html#grammar-token-set_display
generator_expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-generator_expression
yield_atom
https://docs.python.org/3.2/reference/expressions.html#grammar-token-yield_atom
¶
https://docs.python.org/3.2/reference/expressions.html#atom-identifiers
Identifiers and keywords
https://docs.python.org/3.2/reference/lexical_analysis.html#identifiers
Naming and binding
https://docs.python.org/3.2/reference/executionmodel.html#naming
NameError
https://docs.python.org/3.2/library/exceptions.html#NameError
¶
https://docs.python.org/3.2/reference/expressions.html#literals
stringliteral
https://docs.python.org/3.2/reference/lexical_analysis.html#grammar-token-stringliteral
bytesliteral
https://docs.python.org/3.2/reference/lexical_analysis.html#grammar-token-bytesliteral
integer
https://docs.python.org/3.2/reference/lexical_analysis.html#grammar-token-integer
floatnumber
https://docs.python.org/3.2/reference/lexical_analysis.html#grammar-token-floatnumber
imagnumber
https://docs.python.org/3.2/reference/lexical_analysis.html#grammar-token-imagnumber
Literals
https://docs.python.org/3.2/reference/lexical_analysis.html#literals
¶
https://docs.python.org/3.2/reference/expressions.html#parenthesized-forms
expression_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression_list
¶
https://docs.python.org/3.2/reference/expressions.html#displays-for-lists-sets-and-dictionaries
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
comp_for
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comp_for
target_list
https://docs.python.org/3.2/reference/simple_stmts.html#grammar-token-target_list
or_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-or_test
comp_iter
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comp_iter
comp_for
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comp_for
comp_if
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comp_if
expression_nocond
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression_nocond
comp_iter
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comp_iter
for
https://docs.python.org/3.2/reference/compound_stmts.html#for
for
https://docs.python.org/3.2/reference/compound_stmts.html#for
if
https://docs.python.org/3.2/reference/compound_stmts.html#if
for
https://docs.python.org/3.2/reference/compound_stmts.html#for
if
https://docs.python.org/3.2/reference/compound_stmts.html#if
¶
https://docs.python.org/3.2/reference/expressions.html#list-displays
expression_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression_list
comprehension
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comprehension
¶
https://docs.python.org/3.2/reference/expressions.html#set-displays
expression_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression_list
comprehension
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comprehension
¶
https://docs.python.org/3.2/reference/expressions.html#dictionary-displays
key_datum_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-key_datum_list
dict_comprehension
https://docs.python.org/3.2/reference/expressions.html#grammar-token-dict_comprehension
key_datum
https://docs.python.org/3.2/reference/expressions.html#grammar-token-key_datum
key_datum
https://docs.python.org/3.2/reference/expressions.html#grammar-token-key_datum
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
comp_for
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comp_for
The standard type hierarchy
https://docs.python.org/3.2/reference/datamodel.html#types
hashable
https://docs.python.org/3.2/glossary.html#term-hashable
¶
https://docs.python.org/3.2/reference/expressions.html#generator-expressions
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
comp_for
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comp_for
__next__()
https://docs.python.org/3.2/reference/expressions.html#generator.__next__
for
https://docs.python.org/3.2/reference/compound_stmts.html#for
for
https://docs.python.org/3.2/reference/compound_stmts.html#for
for
https://docs.python.org/3.2/reference/compound_stmts.html#for
Calls
https://docs.python.org/3.2/reference/expressions.html#calls
¶
https://docs.python.org/3.2/reference/expressions.html#yield-expressions
yield_expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-yield_expression
expression_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression_list
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
expression_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression_list
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
try
https://docs.python.org/3.2/reference/compound_stmts.html#try
try
https://docs.python.org/3.2/reference/compound_stmts.html#try
finally
https://docs.python.org/3.2/reference/compound_stmts.html#finally
finally
https://docs.python.org/3.2/reference/compound_stmts.html#finally
¶
https://docs.python.org/3.2/reference/expressions.html#generator-iterator-methods
ValueError
https://docs.python.org/3.2/library/exceptions.html#ValueError
¶
https://docs.python.org/3.2/reference/expressions.html#generator.__next__
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
__next__()
https://docs.python.org/3.2/reference/expressions.html#generator.__next__
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
None
https://docs.python.org/3.2/library/constants.html#None
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
expression_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression_list
next()
https://docs.python.org/3.2/library/functions.html#next
StopIteration
https://docs.python.org/3.2/library/exceptions.html#StopIteration
for
https://docs.python.org/3.2/reference/compound_stmts.html#for
next()
https://docs.python.org/3.2/library/functions.html#next
¶
https://docs.python.org/3.2/reference/expressions.html#generator.send
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
send()
https://docs.python.org/3.2/reference/expressions.html#generator.send
StopIteration
https://docs.python.org/3.2/library/exceptions.html#StopIteration
send()
https://docs.python.org/3.2/reference/expressions.html#generator.send
None
https://docs.python.org/3.2/library/constants.html#None
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
¶
https://docs.python.org/3.2/reference/expressions.html#generator.throw
StopIteration
https://docs.python.org/3.2/library/exceptions.html#StopIteration
¶
https://docs.python.org/3.2/reference/expressions.html#generator.close
GeneratorExit
https://docs.python.org/3.2/library/exceptions.html#GeneratorExit
StopIteration
https://docs.python.org/3.2/library/exceptions.html#StopIteration
GeneratorExit
https://docs.python.org/3.2/library/exceptions.html#GeneratorExit
RuntimeError
https://docs.python.org/3.2/library/exceptions.html#RuntimeError
close()
https://docs.python.org/3.2/reference/expressions.html#generator.close
PEP 0255
http://www.python.org/dev/peps/pep-0255
yield
https://docs.python.org/3.2/reference/simple_stmts.html#yield
PEP 0342
http://www.python.org/dev/peps/pep-0342
¶
https://docs.python.org/3.2/reference/expressions.html#primaries
atom
https://docs.python.org/3.2/reference/expressions.html#grammar-token-atom
attributeref
https://docs.python.org/3.2/reference/expressions.html#grammar-token-attributeref
subscription
https://docs.python.org/3.2/reference/expressions.html#grammar-token-subscription
slicing
https://docs.python.org/3.2/reference/expressions.html#grammar-token-slicing
call
https://docs.python.org/3.2/reference/expressions.html#grammar-token-call
¶
https://docs.python.org/3.2/reference/expressions.html#attribute-references
primary
https://docs.python.org/3.2/reference/expressions.html#grammar-token-primary
identifier
https://docs.python.org/3.2/reference/lexical_analysis.html#grammar-token-identifier
__getattr__()
https://docs.python.org/3.2/reference/datamodel.html#object.__getattr__
AttributeError
https://docs.python.org/3.2/library/exceptions.html#AttributeError
¶
https://docs.python.org/3.2/reference/expressions.html#subscriptions
primary
https://docs.python.org/3.2/reference/expressions.html#grammar-token-primary
expression_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression_list
__getitem__()
https://docs.python.org/3.2/reference/datamodel.html#object.__getitem__
__getitem__()
https://docs.python.org/3.2/reference/datamodel.html#object.__getitem__
__getitem__()
https://docs.python.org/3.2/reference/datamodel.html#object.__getitem__
¶
https://docs.python.org/3.2/reference/expressions.html#slicings
del
https://docs.python.org/3.2/reference/simple_stmts.html#del
primary
https://docs.python.org/3.2/reference/expressions.html#grammar-token-primary
slice_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-slice_list
slice_item
https://docs.python.org/3.2/reference/expressions.html#grammar-token-slice_item
slice_item
https://docs.python.org/3.2/reference/expressions.html#grammar-token-slice_item
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
proper_slice
https://docs.python.org/3.2/reference/expressions.html#grammar-token-proper_slice
lower_bound
https://docs.python.org/3.2/reference/expressions.html#grammar-token-lower_bound
upper_bound
https://docs.python.org/3.2/reference/expressions.html#grammar-token-upper_bound
stride
https://docs.python.org/3.2/reference/expressions.html#grammar-token-stride
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
__getitem__()
https://docs.python.org/3.2/reference/datamodel.html#object.__getitem__
The standard type hierarchy
https://docs.python.org/3.2/reference/datamodel.html#types
¶
https://docs.python.org/3.2/reference/expressions.html#calls
function
https://docs.python.org/3.2/glossary.html#term-function
arguments
https://docs.python.org/3.2/glossary.html#term-argument
primary
https://docs.python.org/3.2/reference/expressions.html#grammar-token-primary
argument_list
https://docs.python.org/3.2/reference/expressions.html#grammar-token-argument_list
comprehension
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comprehension
positional_arguments
https://docs.python.org/3.2/reference/expressions.html#grammar-token-positional_arguments
keyword_arguments
https://docs.python.org/3.2/reference/expressions.html#grammar-token-keyword_arguments
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
keyword_arguments
https://docs.python.org/3.2/reference/expressions.html#grammar-token-keyword_arguments
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
keyword_arguments
https://docs.python.org/3.2/reference/expressions.html#grammar-token-keyword_arguments
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
keyword_arguments
https://docs.python.org/3.2/reference/expressions.html#grammar-token-keyword_arguments
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
keyword_arguments
https://docs.python.org/3.2/reference/expressions.html#grammar-token-keyword_arguments
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
keyword_item
https://docs.python.org/3.2/reference/expressions.html#grammar-token-keyword_item
keyword_item
https://docs.python.org/3.2/reference/expressions.html#grammar-token-keyword_item
identifier
https://docs.python.org/3.2/reference/lexical_analysis.html#grammar-token-identifier
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
__call__()
https://docs.python.org/3.2/reference/datamodel.html#object.__call__
Function definitions
https://docs.python.org/3.2/reference/compound_stmts.html#function
parameter
https://docs.python.org/3.2/glossary.html#term-parameter
TypeError
https://docs.python.org/3.2/library/exceptions.html#TypeError
TypeError
https://docs.python.org/3.2/library/exceptions.html#TypeError
PyArg_ParseTuple()
https://docs.python.org/3.2/c-api/arg.html#PyArg_ParseTuple
TypeError
https://docs.python.org/3.2/library/exceptions.html#TypeError
TypeError
https://docs.python.org/3.2/library/exceptions.html#TypeError
TypeError
https://docs.python.org/3.2/library/exceptions.html#TypeError
Function definitions
https://docs.python.org/3.2/reference/compound_stmts.html#function
return
https://docs.python.org/3.2/reference/simple_stmts.html#return
Built-in Functions
https://docs.python.org/3.2/library/functions.html#built-in-funcs
__call__()
https://docs.python.org/3.2/reference/datamodel.html#object.__call__
¶
https://docs.python.org/3.2/reference/expressions.html#the-power-operator
primary
https://docs.python.org/3.2/reference/expressions.html#grammar-token-primary
u_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-u_expr
pow()
https://docs.python.org/3.2/library/functions.html#pow
ZeroDivisionError
https://docs.python.org/3.2/library/exceptions.html#ZeroDivisionError
complex
https://docs.python.org/3.2/library/functions.html#complex
ValueError
https://docs.python.org/3.2/library/exceptions.html#ValueError
¶
https://docs.python.org/3.2/reference/expressions.html#unary-arithmetic-and-bitwise-operations
power
https://docs.python.org/3.2/reference/expressions.html#grammar-token-power
u_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-u_expr
u_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-u_expr
u_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-u_expr
TypeError
https://docs.python.org/3.2/library/exceptions.html#TypeError
¶
https://docs.python.org/3.2/reference/expressions.html#binary-arithmetic-operations
u_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-u_expr
m_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-m_expr
u_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-u_expr
m_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-m_expr
u_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-u_expr
m_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-m_expr
u_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-u_expr
m_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-m_expr
u_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-u_expr
m_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-m_expr
a_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-a_expr
m_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-m_expr
a_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-a_expr
m_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-m_expr
ZeroDivisionError
https://docs.python.org/3.2/library/exceptions.html#ZeroDivisionError
ZeroDivisionError
https://docs.python.org/3.2/library/exceptions.html#ZeroDivisionError
[1]
https://docs.python.org/3.2/reference/expressions.html#id16
divmod()
https://docs.python.org/3.2/library/functions.html#divmod
[2]
https://docs.python.org/3.2/reference/expressions.html#id17
Old String Formatting Operations
https://docs.python.org/3.2/library/stdtypes.html#old-string-formatting
divmod()
https://docs.python.org/3.2/library/functions.html#divmod
abs()
https://docs.python.org/3.2/library/functions.html#abs
¶
https://docs.python.org/3.2/reference/expressions.html#shifting-operations
a_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-a_expr
shift_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-shift_expr
a_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-a_expr
sys.maxsize
https://docs.python.org/3.2/library/sys.html#sys.maxsize
sys.maxsize
https://docs.python.org/3.2/library/sys.html#sys.maxsize
OverflowError
https://docs.python.org/3.2/library/exceptions.html#OverflowError
¶
https://docs.python.org/3.2/reference/expressions.html#binary-bitwise-operations
shift_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-shift_expr
and_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-and_expr
shift_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-shift_expr
and_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-and_expr
xor_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-xor_expr
and_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-and_expr
xor_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-xor_expr
or_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-or_expr
xor_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-xor_expr
¶
https://docs.python.org/3.2/reference/expressions.html#not-in
or_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-or_expr
comp_operator
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comp_operator
or_expr
https://docs.python.org/3.2/reference/expressions.html#grammar-token-or_expr
TypeError
https://docs.python.org/3.2/library/exceptions.html#TypeError
__gt__()
https://docs.python.org/3.2/reference/datamodel.html#object.__gt__
Basic customization
https://docs.python.org/3.2/reference/datamodel.html#customization
ord()
https://docs.python.org/3.2/library/functions.html#ord
[3]
https://docs.python.org/3.2/reference/expressions.html#id18
TypeError
https://docs.python.org/3.2/library/exceptions.html#TypeError
min()
https://docs.python.org/3.2/library/functions.html#min
max()
https://docs.python.org/3.2/library/functions.html#max
sorted()
https://docs.python.org/3.2/library/functions.html#sorted
in
https://docs.python.org/3.2/reference/expressions.html#in
not in
https://docs.python.org/3.2/reference/expressions.html#not-in
in
https://docs.python.org/3.2/reference/expressions.html#in
__contains__()
https://docs.python.org/3.2/reference/datamodel.html#object.__contains__
__contains__()
https://docs.python.org/3.2/reference/datamodel.html#object.__contains__
__iter__()
https://docs.python.org/3.2/reference/datamodel.html#object.__iter__
in
https://docs.python.org/3.2/reference/expressions.html#in
__getitem__()
https://docs.python.org/3.2/reference/datamodel.html#object.__getitem__
IndexError
https://docs.python.org/3.2/library/exceptions.html#IndexError
in
https://docs.python.org/3.2/reference/expressions.html#in
not in
https://docs.python.org/3.2/reference/expressions.html#not-in
in
https://docs.python.org/3.2/reference/expressions.html#in
is
https://docs.python.org/3.2/reference/expressions.html#is
is not
https://docs.python.org/3.2/reference/expressions.html#is-not
[4]
https://docs.python.org/3.2/reference/expressions.html#id19
¶
https://docs.python.org/3.2/reference/expressions.html#boolean-operations
and_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-and_test
or_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-or_test
and_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-and_test
not_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-not_test
and_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-and_test
not_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-not_test
comparison
https://docs.python.org/3.2/reference/expressions.html#grammar-token-comparison
not_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-not_test
__bool__()
https://docs.python.org/3.2/reference/datamodel.html#object.__bool__
not
https://docs.python.org/3.2/reference/expressions.html#not
and
https://docs.python.org/3.2/reference/expressions.html#and
or
https://docs.python.org/3.2/reference/expressions.html#or
not
https://docs.python.org/3.2/reference/expressions.html#not
¶
https://docs.python.org/3.2/reference/expressions.html#conditional-expressions
or_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-or_test
or_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-or_test
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
conditional_expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-conditional_expression
lambda_form
https://docs.python.org/3.2/reference/expressions.html#grammar-token-lambda_form
or_test
https://docs.python.org/3.2/reference/expressions.html#grammar-token-or_test
lambda_form_nocond
https://docs.python.org/3.2/reference/expressions.html#grammar-token-lambda_form_nocond
PEP 308
http://www.python.org/dev/peps/pep-0308
¶
https://docs.python.org/3.2/reference/expressions.html#lambda
parameter_list
https://docs.python.org/3.2/reference/compound_stmts.html#grammar-token-parameter_list
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
parameter_list
https://docs.python.org/3.2/reference/compound_stmts.html#grammar-token-parameter_list
expression_nocond
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression_nocond
Function definitions
https://docs.python.org/3.2/reference/compound_stmts.html#function
¶
https://docs.python.org/3.2/reference/expressions.html#expression-lists
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
expression
https://docs.python.org/3.2/reference/expressions.html#grammar-token-expression
¶
https://docs.python.org/3.2/reference/expressions.html#evaluation-order
¶
https://docs.python.org/3.2/reference/expressions.html#operator-precedence
Comparisons
https://docs.python.org/3.2/reference/expressions.html#comparisons
lambda
https://docs.python.org/3.2/reference/expressions.html#lambda
if
https://docs.python.org/3.2/reference/compound_stmts.html#if
else
https://docs.python.org/3.2/reference/compound_stmts.html#else
or
https://docs.python.org/3.2/reference/expressions.html#or
and
https://docs.python.org/3.2/reference/expressions.html#and
not
https://docs.python.org/3.2/reference/expressions.html#not
in
https://docs.python.org/3.2/reference/expressions.html#in
not in
https://docs.python.org/3.2/reference/expressions.html#not-in
is
https://docs.python.org/3.2/reference/expressions.html#is
is not
https://docs.python.org/3.2/reference/expressions.html#is-not
[5]
https://docs.python.org/3.2/reference/expressions.html#id20
[6]
https://docs.python.org/3.2/reference/expressions.html#id21
[1]
https://docs.python.org/3.2/reference/expressions.html#id8
math.fmod()
https://docs.python.org/3.2/library/math.html#math.fmod
[2]
https://docs.python.org/3.2/reference/expressions.html#id9
[3]
https://docs.python.org/3.2/reference/expressions.html#id11
unicodedata.normalize()
https://docs.python.org/3.2/library/unicodedata.html#unicodedata.normalize
[4]
https://docs.python.org/3.2/reference/expressions.html#id12
is
https://docs.python.org/3.2/reference/expressions.html#is
[5]
https://docs.python.org/3.2/reference/expressions.html#id14
[6]
https://docs.python.org/3.2/reference/expressions.html#id15
Table Of Contents
https://docs.python.org/3.2/contents.html
5. Expressions
https://docs.python.org/3.2/reference/expressions.html
5.1. Arithmetic conversions
https://docs.python.org/3.2/reference/expressions.html#arithmetic-conversions
5.2. Atoms
https://docs.python.org/3.2/reference/expressions.html#atoms
5.2.1. Identifiers (Names)
https://docs.python.org/3.2/reference/expressions.html#atom-identifiers
5.2.2. Literals
https://docs.python.org/3.2/reference/expressions.html#literals
5.2.3. Parenthesized forms
https://docs.python.org/3.2/reference/expressions.html#parenthesized-forms
5.2.4. Displays for lists, sets and dictionaries
https://docs.python.org/3.2/reference/expressions.html#displays-for-lists-sets-and-dictionaries
5.2.5. List displays
https://docs.python.org/3.2/reference/expressions.html#list-displays
5.2.6. Set displays
https://docs.python.org/3.2/reference/expressions.html#set-displays
5.2.7. Dictionary displays
https://docs.python.org/3.2/reference/expressions.html#dictionary-displays
5.2.8. Generator expressions
https://docs.python.org/3.2/reference/expressions.html#generator-expressions
5.2.9. Yield expressions
https://docs.python.org/3.2/reference/expressions.html#yield-expressions
5.2.9.1. Generator-iterator methods
https://docs.python.org/3.2/reference/expressions.html#generator-iterator-methods
5.3. Primaries
https://docs.python.org/3.2/reference/expressions.html#primaries
5.3.1. Attribute references
https://docs.python.org/3.2/reference/expressions.html#attribute-references
5.3.2. Subscriptions
https://docs.python.org/3.2/reference/expressions.html#subscriptions
5.3.3. Slicings
https://docs.python.org/3.2/reference/expressions.html#slicings
5.3.4. Calls
https://docs.python.org/3.2/reference/expressions.html#calls
5.4. The power operator
https://docs.python.org/3.2/reference/expressions.html#the-power-operator
5.5. Unary arithmetic and bitwise operations
https://docs.python.org/3.2/reference/expressions.html#unary-arithmetic-and-bitwise-operations
5.6. Binary arithmetic operations
https://docs.python.org/3.2/reference/expressions.html#binary-arithmetic-operations
5.7. Shifting operations
https://docs.python.org/3.2/reference/expressions.html#shifting-operations
5.8. Binary bitwise operations
https://docs.python.org/3.2/reference/expressions.html#binary-bitwise-operations
5.9. Comparisons
https://docs.python.org/3.2/reference/expressions.html#not-in
5.10. Boolean operations
https://docs.python.org/3.2/reference/expressions.html#boolean-operations
5.11. Conditional expressions
https://docs.python.org/3.2/reference/expressions.html#conditional-expressions
5.12. Lambdas
https://docs.python.org/3.2/reference/expressions.html#lambda
5.13. Expression lists
https://docs.python.org/3.2/reference/expressions.html#expression-lists
5.14. Evaluation order
https://docs.python.org/3.2/reference/expressions.html#evaluation-order
5.15. Operator precedence
https://docs.python.org/3.2/reference/expressions.html#operator-precedence
4. Execution model
https://docs.python.org/3.2/reference/executionmodel.html
6. Simple statements
https://docs.python.org/3.2/reference/simple_stmts.html
Report a Bug
https://docs.python.org/3.2/bugs.html
Show Source
https://docs.python.org/3.2/_sources/reference/expressions.txt
index
https://docs.python.org/3.2/genindex.html
modules
https://docs.python.org/3.2/py-modindex.html
next
https://docs.python.org/3.2/reference/simple_stmts.html
previous
https://docs.python.org/3.2/reference/executionmodel.html
Python
http://www.python.org/
3.2.6 Documentation
https://docs.python.org/3.2/index.html
The Python Language Reference
https://docs.python.org/3.2/reference/index.html
Copyright
https://docs.python.org/3.2/copyright.html
Please donate.
http://www.python.org/psf/donations/
Found a bug
https://docs.python.org/3.2/bugs.html
Sphinx
http://sphinx.pocoo.org/
URLs of
crawlers that visited me
.