2007-08-15 11:28:22 -03:00
|
|
|
.. _datatypes:
|
|
|
|
|
|
|
|
**********
|
|
|
|
Data Types
|
|
|
|
**********
|
|
|
|
|
|
|
|
The modules described in this chapter provide a variety of specialized data
|
2019-09-10 12:42:56 -03:00
|
|
|
types such as dates and times, fixed-type arrays, heap queues, double-ended
|
|
|
|
queues, and enumerations.
|
2007-08-15 11:28:22 -03:00
|
|
|
|
|
|
|
Python also provides some built-in data types, in particular,
|
|
|
|
:class:`dict`, :class:`list`, :class:`set` and :class:`frozenset`, and
|
2008-02-08 09:24:20 -04:00
|
|
|
:class:`tuple`. The :class:`str` class is used to hold
|
2019-09-10 12:42:56 -03:00
|
|
|
Unicode strings, and the :class:`bytes` and :class:`bytearray` classes are used
|
|
|
|
to hold binary data.
|
2007-08-15 11:28:22 -03:00
|
|
|
|
|
|
|
The following modules are documented in this chapter:
|
|
|
|
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
|
|
|
datetime.rst
|
|
|
|
calendar.rst
|
|
|
|
collections.rst
|
2011-02-21 20:41:50 -04:00
|
|
|
collections.abc.rst
|
2007-08-15 11:28:22 -03:00
|
|
|
heapq.rst
|
|
|
|
bisect.rst
|
|
|
|
array.rst
|
|
|
|
weakref.rst
|
|
|
|
types.rst
|
|
|
|
copy.rst
|
|
|
|
pprint.rst
|
Merged revisions 63361-63373,63375,63377-63380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63361 | alexandre.vassalotti | 2008-05-16 03:14:08 -0400 (Fri, 16 May 2008) | 2 lines
Rename the test file of reprlib.
........
r63364 | georg.brandl | 2008-05-16 05:34:48 -0400 (Fri, 16 May 2008) | 2 lines
Make generator repr consistent with function and code object repr.
........
r63365 | georg.brandl | 2008-05-16 05:47:29 -0400 (Fri, 16 May 2008) | 2 lines
#2869: remove parameter from signature.
........
r63366 | christian.heimes | 2008-05-16 06:23:31 -0400 (Fri, 16 May 2008) | 1 line
Fixed #2870: cmathmodule.c compile error
........
r63367 | christian.heimes | 2008-05-16 07:28:56 -0400 (Fri, 16 May 2008) | 1 line
Following Amaury's advice
........
r63368 | georg.brandl | 2008-05-16 09:10:15 -0400 (Fri, 16 May 2008) | 2 lines
#2890: support os.O_ASYNC and fcntl.FASYNC.
........
r63369 | georg.brandl | 2008-05-16 09:18:50 -0400 (Fri, 16 May 2008) | 2 lines
#2845: fix copy2's docs.
........
r63370 | georg.brandl | 2008-05-16 09:24:29 -0400 (Fri, 16 May 2008) | 2 lines
Don't allow keyword arguments to reversed().
........
r63373 | georg.brandl | 2008-05-16 09:41:26 -0400 (Fri, 16 May 2008) | 2 lines
Document O_ASYNC addition.
........
r63380 | georg.brandl | 2008-05-16 13:33:13 -0400 (Fri, 16 May 2008) | 2 lines
Fix reprlib docs.
........
2008-05-16 15:15:12 -03:00
|
|
|
reprlib.rst
|
2013-06-14 04:30:27 -03:00
|
|
|
enum.rst
|