Die Python-Sprachreferenz¶
This reference manual describes the syntax and „core semantics“ of the language. It is terse, but attempts to be exact and complete. The semantics of non-essential built-in object types and of the built-in functions and modules are described in The Python Standard Library. For an informal introduction to the language, see Das Python-Tutorial. For C or C++ programmers, two additional manuals exist: Extending and Embedding the Python Interpreter describes the high-level picture of how to write a Python extension module, and the Python/C API Reference Manual describes the interfaces available to C/C++ programmers in detail.
- 1. Einführung
- 2. Lexical analysis
- 3. Datenmodell
- 4. Ausführungsmodell
- 5. Das Importsystem
- 6. Ausdrücke
- 6.1. Arithmetische Umrechnungen
- 6.2. Atoms
- 6.3. Primäre Funktionen
- 6.4. Ausdruck „Await“
- 6.5. Der Potenz Operator (Power Operator)
- 6.6. Unäre Arithmetik und bitweise Operationen
- 6.7. Binäre arithmetische Operationen
- 6.8. Verschiebungsoperationen
- 6.9. Binäre bitweise Operationen
- 6.10. Vergleiche
- 6.11. Boolesche Operationen
- 6.12. Zuweisungsausdrücke
- 6.13. Bedingte Ausdrücke
- 6.14. Lambdas
- 6.15. Ausdruckslisten
- 6.16. Bewertungsreihenfolge
- 6.17. Reihenfolge der Rechenoperatoren
- 7. Einfache Anweisungen
- 7.1. Ausdrucksanweisungen
- 7.2. Zuweisungsanweisungen
- 7.3. Die
assertAnweisung - 7.4. Die
passAnweisung - 7.5. Die
delAnweisung - 7.6. Die
returnAnweisung - 7.7. Die
yieldAnweisung - 7.8. Die
raiseAnweisung - 7.9. Die Erklärung der
breakAnweisung. - 7.10. Die
continueAnweisung - 7.11. Die
importAnweisung - 7.12. Die Erklärung der
global. - 7.13. Die
nonlocalAnweisung - 7.14. Die
typeAnweisung
- 8. Zusammengesetzte Anweisungen
- 9. Top-level components
- 10. Vollständige Grammatikspezifikation