Python language
dev (3.11) 3.10.4 3.9 3.8 3.7 3.6 3.5 2.7 English Spanish French Japanese Korean Brazilian Portuguese Simplified Chinese Traditional Chinese Table of Contents 1. Introduction 1.1. Alternate Implementations 1.2. Notation Previous topic The Python Language Reference Next topic 2. Lexical analysis This Page Report a Bug Show Source 1. Introduction This reference manual describes the Python programming language. It is not intended as a tutorial. While I am trying to be as precise as possible, I chose to use English rather than formal specifications for everything except syntax and lexical analysis. This should make the document more understandable to the average reader, but will leave room for ambiguities. Consequently, if you were coming from Mars and tried to re-implement Python from this document alone, you might have to guess things and in fact you would probably end up implementing quite a different language. On the other hand, if you are using Python and wonder what...