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, synchronized 9 queues, and sets. 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` class is used to hold binary data. 15 16 The following modules are documented in this chapter: 17 18 19 .. toctree:: 20 21 datetime.rst 22 calendar.rst 23 collections.rst 24 collections.abc.rst 25 heapq.rst 26 bisect.rst 27 array.rst 28 weakref.rst 29 types.rst 30 copy.rst 31 pprint.rst 32 reprlib.rst 33 enum.rst 34