summaryrefslogtreecommitdiff
path: root/Doc/library/marshal.rst
diff options
context:
space:
mode:
authorTommy Beadle <tbeadle@gmail.com>2016-06-02 19:26:51 -0400
committerTommy Beadle <tbeadle@gmail.com>2016-06-02 19:26:51 -0400
commit171ab682f743390b5384ee2384c20c8ed41ff657 (patch)
treed736556978a4d6e140d6a37b89bfc04da79ef73e /Doc/library/marshal.rst
parentd938c575732c46c86c25db9bb3a322cfdeeaf5eb (diff)
downloadcpython-171ab682f743390b5384ee2384c20c8ed41ff657.tar.gz
[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 d9fd68ada9..8bf0e0322a 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