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 |
| 24 | heapq.rst |
| 25 | bisect.rst |
| 26 | array.rst |
| 27 | sched.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 28 | queue.rst |
| 29 | weakref.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 30 | types.rst |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 31 | copy.rst |
| 32 | pprint.rst |
Alexandre Vassalotti | bee3253 | 2008-05-16 18:15:12 +0000 | [diff] [blame] | 33 | reprlib.rst |