GNU Info

Info Node: (python2.1-ref.info)Expressions

(python2.1-ref.info)Expressions


Next: Simple statements Prev: Execution model Up: Top
Enter node , (file) or (file)node

Expressions
***********

This chapter explains the meaning of the elements of expressions in
Python.

*Syntax Notes:* In this and the following chapters, extended BNF
notation will be used to describe syntax, not lexical analysis.  When
(one alternative of) a syntax rule has the form

     name:           othername

and no semantics are given, the semantics of this form of `name' are
the same as for `othername'.

Arithmetic conversions
Atoms
Primaries
power operator
Unary arithmetic operations
Binary arithmetic operations
Shifting operations
Binary bit-wise operations
Comparisons
Boolean operations
Expression lists
Summary

automatically generated by info2www version 1.2.2.9