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:

atom:      identifier | literal | enclosure
enclosure: parenth_form|list_display|dict_display|string_conversion



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


Banner.Novgorod.Ru