5.2 Atoms

Python PEP

5.2 Atoms

Atoms are the most basic elements of expressions. The simplest atoms are identifiers or literals. Forms enclosed in reverse quotes or in parentheses, brackets or braces are also categorized syntactically as atoms. The syntax for atoms is:

Download entire grammar as text.


See About this document... for information on suggesting changes.