DAGDA SEARCH | Back to results | Support

Data Types — Python 3.16.0a2 documentation

Source: https://docs.python.org/dev/library/datatypes.html

Navigation

Data Types

The modules described in this chapter provide a variety of specialized data types such as dates and times, fixed-type arrays, heap queues, double-ended queues, and enumerations.

Python also provides some built-in data types, in particular, list, tuple, dict, frozendict, set, and frozenset. The str class is used to hold Unicode strings, and the bytes and bytearray classes are used to hold binary data.

The following modules are documented in this chapter:

Previous topic

codecs — Codec registry and base classes

Next topic

datetime — Basic date and time types

This page

«

Navigation

© Copyright 2001 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 for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

Last updated on Nov 29, 2026 (04:54 UTC). Found a bug?
Created using Sphinx 9.1.1.