summaryrefslogtreecommitdiffstats
path: root/Lib/multifile.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-12 03:19:20 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-12 03:19:20 (GMT)
commit43e5ef49b12ccba2c43ea003316a3ff23677fe0f (patch)
treeaef2114c646819d1b7d44545306811445ed85f99 /Lib/multifile.py
parentfea23a4d004673f2a2295669e94c9c9fb2229f4b (diff)
downloadcpython-43e5ef49b12ccba2c43ea003316a3ff23677fe0f.zip
cpython-43e5ef49b12ccba2c43ea003316a3ff23677fe0f.tar.gz
cpython-43e5ef49b12ccba2c43ea003316a3ff23677fe0f.tar.bz2
Deprecate the multifile module as per PEP 4.
Diffstat (limited to 'Lib/multifile.py')
-rw-r--r--Lib/multifile.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/multifile.py b/Lib/multifile.py
index e82a3fd..35b0200 100644
--- a/Lib/multifile.py
+++ b/Lib/multifile.py
@@ -26,6 +26,10 @@ it normally attempts in order to make seeks relative to the beginning of the
current file part. This may be useful when using MultiFile with a non-
seekable stream object.
"""
+from warnings import warn
+warn("the multifile module has been deprecated since Python 2.5",
+ DeprecationWarning, stacklevel=2)
+del warn
__all__ = ["MultiFile","Error"]