Este manual de referencia describe el lenguaje de programación Python. No se pretende que sea una guía de aprendizaje.
Aunque intentaré ser tan preciso como sea posible, he preferido usar lenguaje natural en lugar de especificaciones formales para todo, excepto el análisis sintáctico y léxico. Esto debería hacer más comprensible el documento al lector medio, pero dejaría una puerta a las ambigüedades. Consecuentemente, si vinieras de Marte e intentaras re-implementar Python a partir de este documento sólo, es posible que acabaras implementando un lenguaje bastante diferente. Por otra parte, si usas Python y te preguntas las reglas precisas
On the other hand, if you are using Python and wonder what the precise rules about a particular area of the language are, you should definitely be able to find them here. If you would like to see a more formal definition of the language, maybe you could volunteer your time -- or invent a cloning machine :-).
It is dangerous to add too many implementation details to a language reference document -- the implementation may change, and other implementations of the same language may work differently. On the other hand, there is currently only one Python implementation in widespread use (although a second one now exists!), and its particular quirks are sometimes worth being mentioned, especially where the implementation imposes additional limitations. Therefore, you'll find short ``implementation notes'' sprinkled throughout the text.
Every Python implementation comes with a number of built-in and standard modules. These are not documented here, but in the separate Python Library Reference document. A few built-in modules are mentioned when they interact in a significant way with the language definition.