Deprecate the multifile module as per PEP 4.

This commit is contained in:
Brett Cannon 2008-05-12 03:19:20 +00:00
parent fea23a4d00
commit 43e5ef49b1
3 changed files with 8 additions and 1 deletions

View file

@ -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"]