• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. _datatypes:
2
3**********
4Data Types
5**********
6
7The modules described in this chapter provide a variety of specialized data
8types such as dates and times, fixed-type arrays, heap queues, double-ended
9queues, and enumerations.
10
11Python 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
14Unicode strings, and the :class:`bytes` and :class:`bytearray` classes are used
15to hold binary data.
16
17The 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
37