summaryrefslogtreecommitdiffstats
path: root/Lib/contextlib.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-06-28 15:25:04 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-06-28 15:25:04 (GMT)
commit274271d1ae71dbd1177b54a5def45fed3ecb501f (patch)
tree50020b9d4c3b3922ce72f5c41b61c4fc969d822e /Lib/contextlib.py
parente4a51e6543e18a004735e75344009b832134db6e (diff)
downloadcpython-274271d1ae71dbd1177b54a5def45fed3ecb501f.zip
cpython-274271d1ae71dbd1177b54a5def45fed3ecb501f.tar.gz
cpython-274271d1ae71dbd1177b54a5def45fed3ecb501f.tar.bz2
remove unused imports (closes #12432)
A patch from Vincent Legoll.
Diffstat (limited to 'Lib/contextlib.py')
-rw-r--r--Lib/contextlib.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/contextlib.py b/Lib/contextlib.py
index 5ebbbc6..2f8f00d 100644
--- a/Lib/contextlib.py
+++ b/Lib/contextlib.py
@@ -2,7 +2,6 @@
import sys
from functools import wraps
-from warnings import warn
__all__ = ["contextmanager", "closing", "ContextDecorator"]