| 1 |
.. _datatypes: |
| 2 |
|
| 3 |
********** |
| 4 |
Data Types |
| 5 |
********** |
| 6 |
|
| 7 |
The modules described in this chapter provide a variety of specialized data |
| 8 |
types such as dates and times, fixed-type arrays, heap queues, double-ended |
| 9 |
queues, and enumerations. |
| 10 |
|
| 11 |
Python also provides some built-in data types, in particular, |
| 12 |
:class:`dict`, :class:`list`, :class:`set` and :class:`frozenset`, and |
| 13 |
:class:`tuple`. The :class:`str` class is used to hold |
| 14 |
Unicode strings, and the :class:`bytes` and :class:`bytearray` classes are used |
| 15 |
to hold binary data. |
| 16 |
|
| 17 |
The following modules are documented in this chapter: |
| 18 |
|
| 19 |
|
| 20 |
.. toctree:: |
| 21 |
|
| 22 |
datetime.rst |
| 23 |
zoneinfo.rst |
| 24 |
calendar.rst |
| 25 |
collections.rst |
| 26 |
collections.abc.rst |
| 27 |
heapq.rst |
| 28 |
bisect.rst |
| 29 |
array.rst |
| 30 |
weakref.rst |
| 31 |
types.rst |
| 32 |
copy.rst |
| 33 |
pprint.rst |
| 34 |
reprlib.rst |
| 35 |
enum.rst |
| 36 |
graphlib.rst |