5.3 Primaries

|  |  | Python Reference Manual |  |  |

Previous: 5.2.7 String conversions Up: 5. Expressions Next: 5.3.1 Attribute references

#
5.3 Primaries

Primaries represent the most tightly bound operations of the language. Their syntax is:

  primary | ::= | atom | attributeref | subscription | slicing | call

  Download entire grammar as text.

Subsections

- 5.3.1 Attribute references
- 5.3.2 Subscriptions
- 5.3.3 Slicings
- 5.3.4 Calls

|  |  | Python Reference Manual |  |  |

Previous: 5.2.7 String conversions Up: 5. Expressions Next: 5.3.1 Attribute references

Release 2.4, documentation updated on 30 November 2004.