mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Remove imports of 'warnings' that are no longer needed in dummy_thread,
filecmp, and shelve.
This commit is contained in:
parent
313bda12e8
commit
25c9d6aa00
4 changed files with 2 additions and 3 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue