summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-08-17 22:31:15 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-08-17 22:31:15 (GMT)
commitb5ebf27b88e52836bfa6d97d7817f7f381a1394d (patch)
treedb2a1e6296d59949c7dd94fe7e318011dee1d081
parent38679e2777dcb3bc939c2610accbdf285106ad22 (diff)
downloadcpython-b5ebf27b88e52836bfa6d97d7817f7f381a1394d.zip
cpython-b5ebf27b88e52836bfa6d97d7817f7f381a1394d.tar.gz
cpython-b5ebf27b88e52836bfa6d97d7817f7f381a1394d.tar.bz2
Merged revisions 65787 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r65787 | brett.cannon | 2008-08-17 15:10:11 -0700 (Sun, 17 Aug 2008) | 3 lines Remove imports of 'warnings' that are no longer needed in dummy_thread, filecmp, and shelve. ........
-rw-r--r--Lib/_dummy_thread.py1
-rw-r--r--Lib/filecmp.py1
-rw-r--r--Lib/shelve.py1
3 files changed, 0 insertions, 3 deletions
diff --git a/Lib/_dummy_thread.py b/Lib/_dummy_thread.py
index e03905c..7aa6579 100644
--- a/Lib/_dummy_thread.py
+++ b/Lib/_dummy_thread.py
@@ -17,7 +17,6 @@ __all__ = ['error', 'start_new_thread', 'exit', 'get_ident', 'allocate_lock',
'interrupt_main', 'LockType']
import traceback as _traceback
-import warnings
class error(Exception):
"""Dummy implementation of _thread.error."""
diff --git a/Lib/filecmp.py b/Lib/filecmp.py
index 68a8321..6dcebaa 100644
--- a/Lib/filecmp.py
+++ b/Lib/filecmp.py
@@ -11,7 +11,6 @@ Functions:
import os
import stat
-import warnings
from itertools import filterfalse
__all__ = ["cmp","dircmp","cmpfiles"]
diff --git a/Lib/shelve.py b/Lib/shelve.py
index c8d9cf5..cf6dac6 100644
--- a/Lib/shelve.py
+++ b/Lib/shelve.py
@@ -60,7 +60,6 @@ from pickle import Pickler, Unpickler
from io import BytesIO
import collections
-import warnings
__all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"]