5. 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 nameare the same as for othername.



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