Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b5ebf27

Browse files
committed
Merged revisions 65787 via svnmerge from
svn+ssh://[email protected]/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. ........
1 parent 38679e2 commit b5ebf27

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

Lib/_dummy_thread.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
'interrupt_main', 'LockType']
1818

1919
import traceback as _traceback
20-
import warnings
2120

2221
class error(Exception):
2322
"""Dummy implementation of _thread.error."""

Lib/filecmp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
import os
1313
import stat
14-
import warnings
1514
from itertools import filterfalse
1615

1716
__all__ = ["cmp","dircmp","cmpfiles"]

Lib/shelve.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
from io import BytesIO
6161

6262
import collections
63-
import warnings
6463

6564
__all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"]
6665

0 commit comments

Comments
 (0)