🏳️3.13.2 Documentation

Website favicondocs.python.org

### Navigation

*   [index](genindex.html "General Index")

*   [modules](py-modindex.html "Python Module Index") |

*   [Python](https://www.python.org/) »

*   EnglishSpanish | españolFrench | françaisItalian | italianoJapanese | 日本語Korean | 한국어Polish | polskiBrazilian Portuguese | Português brasileiroTurkish | TürkçeSimplified Chinese | 简体中文Traditional Chinese | 繁體中文

    dev (3.14)3.13.23.123.113.103.93.83.73.63.53.43.33.23.13.02.72.6

*   [3.13.2 Documentation](#) »

*   

*    

    |

*   Theme Auto Light Dark |

Python 3.13.2 documentation

===========================

Welcome! This is the official documentation for Python 3.13.2.

**Documentation sections:**

[What's new in Python 3.13?](whatsnew/3.13.html)  

Or [all "What's new" documents since Python 2.0](whatsnew/index.html)

[Tutorial](tutorial/index.html)  

Start here: a tour of Python's syntax and features

[Library reference](library/index.html)  

Standard library and builtins

[Language reference](reference/index.html)  

Syntax and language elements

[Python setup and usage](using/index.html)  

How to install, configure, and use Python

[Python HOWTOs](howto/index.html)  

In-depth topic manuals

[Installing Python modules](installing/index.html)  

Third-party modules and PyPI.org

[Distributing Python modules](distributing/index.html)  

Publishing modules for use by other people

[Extending and embedding](extending/index.html)  

For C/C++ programmers

[Python's C API](c-api/index.html)  

C API reference

[FAQs](faq/index.html)  

Frequently asked questions (with answers!)

[Deprecations](deprecations/index.html)  

Deprecated functionality

**Indices, glossary, and search:**

[Global module index](py-modindex.html)  

All modules and libraries

[General index](genindex.html)  

All functions, classes, and terms

[Glossary](glossary.html)  

Terms explained

[Search page](search.html)  

Search this documentation

[Complete table of contents](contents.html)  

Lists all sections and subsections

**Project information:**

[Reporting issues](bugs.html)

[Contributing to Docs](https://devguide.python.org/documentation/help-documenting/)

[Download the documentation](download.html)

[History and license of Python](license.html)

[Copyright](copyright.html)

[About the documentation](about.html)

### Download

[Download these documents](download.html)

### Docs by version

*   [Python 3.14 (in development)](https://docs.python.org/3.14/)

*   [Python 3.13 (stable)](https://docs.python.org/3.13/)

*   [Python 3.12 (stable)](https://docs.python.org/3.12/)

*   [Python 3.11 (security-fixes)](https://docs.python.org/3.11/)

*   [Python 3.10 (security-fixes)](https://docs.python.org/3.10/)

*   [Python 3.9 (security-fixes)](https://docs.python.org/3.9/)

*   [Python 3.8 (EOL)](https://docs.python.org/3.8/)

*   [Python 3.7 (EOL)](https://docs.python.org/3.7/)

*   [Python 3.6 (EOL)](https://docs.python.org/3.6/)

*   [Python 3.5 (EOL)](https://docs.python.org/3.5/)

*   [Python 3.4 (EOL)](https://docs.python.org/3.4/)

*   [Python 3.3 (EOL)](https://docs.python.org/3.3/)

*   [Python 3.2 (EOL)](https://docs.python.org/3.2/)

*   [Python 3.1 (EOL)](https://docs.python.org/3.1/)

*   [Python 3.0 (EOL)](https://docs.python.org/3.0/)

*   [Python 2.7 (EOL)](https://docs.python.org/2.7/)

*   [Python 2.6 (EOL)](https://docs.python.org/2.6/)

*   [All versions](https://www.python.org/doc/versions/)

### Other resources

*   [PEP Index](https://peps.python.org)

*   [Beginner's Guide](https://wiki.python.org/moin/BeginnersGuide)

*   [Book List](https://wiki.python.org/moin/PythonBooks)

*   [Audio/Visual Talks](https://www.python.org/doc/av/)

*   [Python Developer’s Guide](https://devguide.python.org/)

«

### Navigation

*   [index](genindex.html "General Index")

*   [modules](py-modindex.html "Python Module Index") |

*   [Python](https://www.python.org/) »

*   EnglishSpanish | españolFrench | françaisItalian | italianoJapanese | 日本語Korean | 한국어Polish | polskiBrazilian Portuguese | Português brasileiroTurkish | TürkçeSimplified Chinese | 简体中文Traditional Chinese | 繁體中文

    dev (3.14)3.13.23.123.113.103.93.83.73.63.53.43.33.23.13.02.72.6

*   [3.13.2 Documentation](#) »

*   

*    

    |

*   Theme Auto Light Dark |

© [Copyright](copyright.html) 2001-2025, Python Software Foundation.  

This page is licensed under the Python Software Foundation License Version 2.  

Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.  

See [History and License](/license.html) for more information.  

The Python Software Foundation is a non-profit corporation. [Please donate.](https://www.python.org/psf/donations/)  

Last updated on Mar 06, 2025 (05:45 UTC). [Found a bug](/bugs.html)?  

Created using [Sphinx](https://www.sphinx-doc.org/) 8.2.3.