diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-08-17 22:10:11 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-08-17 22:10:11 (GMT) |
commit | 25c9d6aa00a3e3b97c23a7ebab1afb3feb526699 (patch) | |
tree | 1ff317afab1f6bb0602bc0ea5dc2aff71c7aa9a8 /Lib | |
parent | 313bda12e8dfe618c6ef2f3681b5ce02409891c8 (diff) | |
download | cpython-25c9d6aa00a3e3b97c23a7ebab1afb3feb526699.zip cpython-25c9d6aa00a3e3b97c23a7ebab1afb3feb526699.tar.gz cpython-25c9d6aa00a3e3b97c23a7ebab1afb3feb526699.tar.bz2 |
Remove imports of 'warnings' that are no longer needed in dummy_thread,
filecmp, and shelve.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/dummy_thread.py | 1 | ||||
-rw-r--r-- | Lib/filecmp.py | 1 | ||||
-rw-r--r-- | Lib/shelve.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/Lib/dummy_thread.py b/Lib/dummy_thread.py index 16dcf7e..198dc49 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 9885765..0b7ce16 100644 --- a/Lib/filecmp.py +++ b/Lib/filecmp.py @@ -11,7 +11,6 @@ Functions: import os import stat -import warnings from itertools import ifilter, ifilterfalse, imap, izip __all__ = ["cmp","dircmp","cmpfiles"] diff --git a/Lib/shelve.py b/Lib/shelve.py index 1f78fc1..fb41c84 100644 --- a/Lib/shelve.py +++ b/Lib/shelve.py @@ -69,7 +69,6 @@ except ImportError: from StringIO import StringIO import UserDict -import warnings __all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"] |