summaryrefslogtreecommitdiffstats
path: root/Doc/library/imp.rst
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-14 23:19:57 (GMT)
committerBrett Cannon <brett@python.org>2013-06-14 23:19:57 (GMT)
commit2d7720418008582aefe3a031b78ef4e867e75d09 (patch)
treede37d5dfbe2981a950cc70fe7f373e08d67a61fa /Doc/library/imp.rst
parent05a647deedd11c227619f9463920526471db54f1 (diff)
downloadcpython-2d7720418008582aefe3a031b78ef4e867e75d09.zip
cpython-2d7720418008582aefe3a031b78ef4e867e75d09.tar.gz
cpython-2d7720418008582aefe3a031b78ef4e867e75d09.tar.bz2
Issue #17907: Document types.ModuleType's constructor and attributes,
allowing for documenting imp.new_module() as deprecated.
Diffstat (limited to 'Doc/library/imp.rst')
-rw-r--r--Doc/library/imp.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst
index 890c171..c6a07ca 100644
--- a/Doc/library/imp.rst
+++ b/Doc/library/imp.rst
@@ -112,6 +112,9 @@ This module provides an interface to the mechanisms used to implement the
Return a new empty module object called *name*. This object is *not* inserted
in ``sys.modules``.
+ .. deprecated:: 3.4
+ Use :class:`types.ModuleType` instead.
+
.. function:: reload(module)