blob: 6b4a71a3ad62aa48519353dc8aadffa17940c2eb [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
24 heapq.rst
25 bisect.rst
26 array.rst
27 sched.rst
Georg Brandl116aa622007-08-15 14:28:22 +000028 queue.rst
29 weakref.rst
Georg Brandl116aa622007-08-15 14:28:22 +000030 types.rst
Georg Brandl116aa622007-08-15 14:28:22 +000031 copy.rst
32 pprint.rst
Alexandre Vassalottibee32532008-05-16 18:15:12 +000033 reprlib.rst