Kaydet (Commit) b5ebf27b authored tarafından Brett Cannon's avatar Brett Cannon

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.
........
üst 38679e27
...@@ -17,7 +17,6 @@ __all__ = ['error', 'start_new_thread', 'exit', 'get_ident', 'allocate_lock', ...@@ -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: ...@@ -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 ...@@ -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"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment