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. ........
This commit is contained in:
parent
38679e2777
commit
b5ebf27b88
|
@ -17,7 +17,6 @@ __all__ = ['error', 'start_new_thread', 'exit', 'get_ident', 'allocate_lock',
|
||||||
'interrupt_main', 'LockType']
|
'interrupt_main', 'LockType']
|
||||||
|
|
||||||
import traceback as _traceback
|
import traceback as _traceback
|
||||||
import warnings
|
|
||||||
|
|
||||||
class error(Exception):
|
class error(Exception):
|
||||||
"""Dummy implementation of _thread.error."""
|
"""Dummy implementation of _thread.error."""
|
||||||
|
|
|
@ -11,7 +11,6 @@ Functions:
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import stat
|
import stat
|
||||||
import warnings
|
|
||||||
from itertools import filterfalse
|
from itertools import filterfalse
|
||||||
|
|
||||||
__all__ = ["cmp","dircmp","cmpfiles"]
|
__all__ = ["cmp","dircmp","cmpfiles"]
|
||||||
|
|
|
@ -60,7 +60,6 @@ from pickle import Pickler, Unpickler
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
|
||||||
import collections
|
import collections
|
||||||
import warnings
|
|
||||||
|
|
||||||
__all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"]
|
__all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue