summaryrefslogtreecommitdiffstats
path: root/Doc/library/marshal.rst
diff options
context:
space:
mode:
authorTommy Beadle <tbeadle@gmail.com>2016-06-02 23:26:51 (GMT)
committerTommy Beadle <tbeadle@gmail.com>2016-06-02 23:26:51 (GMT)
commite9b8403a1f5c4ecd199d1f0a03a49b6684a6b707 (patch)
tree984ca50a480ada47f3e84d6786b42b3c407c24d3 /Doc/library/marshal.rst
parenta6f6edbda8648698289a8ee7abef6a35c924151b (diff)
downloadcpython-e9b8403a1f5c4ecd199d1f0a03a49b6684a6b707.zip
cpython-e9b8403a1f5c4ecd199d1f0a03a49b6684a6b707.tar.gz
cpython-e9b8403a1f5c4ecd199d1f0a03a49b6684a6b707.tar.bz2
[Issue 15476] Make "code object" its own entry in the index
Diffstat (limited to 'Doc/library/marshal.rst')
-rw-r--r--Doc/library/marshal.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/marshal.rst b/Doc/library/marshal.rst
index d9fd68a..8bf0e03 100644
--- a/Doc/library/marshal.rst
+++ b/Doc/library/marshal.rst
@@ -16,7 +16,6 @@ rarely does). [#]_
.. index::
module: pickle
module: shelve
- object: code
This is not a general "persistence" module. For general persistence and
transfer of Python objects through RPC calls, see the modules :mod:`pickle` and
@@ -34,6 +33,8 @@ supports a substantially wider range of objects than marshal.
maliciously constructed data. Never unmarshal data received from an
untrusted or unauthenticated source.
+.. index:: object; code, code object
+
Not all Python object types are supported; in general, only objects whose value
is independent from a particular invocation of Python can be written and read by
this module. The following types are supported: booleans, integers, floating