Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 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 |
Mark Summerfield | 8eed449 | 2008-02-08 13:24:20 +0000 | [diff] [blame] | 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. |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 15 | |
| 16 | The following modules are documented in this chapter: |
| 17 | |
| 18 | |
| 19 | .. toctree:: |
| 20 | |
| 21 | datetime.rst |
| 22 | calendar.rst |
| 23 | collections.rst |
Raymond Hettinger | 158c9c2 | 2011-02-22 00:41:50 +0000 | [diff] [blame] | 24 | collections.abc.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 25 | heapq.rst |
| 26 | bisect.rst |
| 27 | array.rst |
| 28 | sched.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 29 | queue.rst |
| 30 | weakref.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 31 | types.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 32 | copy.rst |
| 33 | pprint.rst |
Alexandre Vassalotti | bee3253 | 2008-05-16 18:15:12 +0000 | [diff] [blame] | 34 | reprlib.rst |