blob: 48af0823aa4912ea9a45d7eefd1cc952916f81ba [file] [log] [blame]
Georg Brandl116aa622007-08-15 14:28:22 +00001.. _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, synchronized
9queues, and sets.
10
11Python also provides some built-in data types, in particular,
12:class:`dict`, :class:`list`, :class:`set` and :class:`frozenset`, and
Mark Summerfield8eed4492008-02-08 13:24:20 +000013:class:`tuple`. The :class:`str` class is used to hold
14Unicode strings, and the :class:`bytes` class is used to hold binary data.
Georg Brandl116aa622007-08-15 14:28:22 +000015
16The following modules are documented in this chapter:
17
18
19.. toctree::
20
21 datetime.rst
22 calendar.rst
23 collections.rst
Raymond Hettinger158c9c22011-02-22 00:41:50 +000024 collections.abc.rst
Georg Brandl116aa622007-08-15 14:28:22 +000025 heapq.rst
26 bisect.rst
27 array.rst
Georg Brandl116aa622007-08-15 14:28:22 +000028 weakref.rst
Georg Brandl116aa622007-08-15 14:28:22 +000029 types.rst
Georg Brandl116aa622007-08-15 14:28:22 +000030 copy.rst
31 pprint.rst
Alexandre Vassalottibee32532008-05-16 18:15:12 +000032 reprlib.rst
Ethan Furman0fff6ad2013-06-14 00:30:27 -070033 enum.rst