mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
remove 2.x specific warnings
This commit is contained in:
parent
106274b430
commit
91799ae3e1
1 changed files with 0 additions and 4 deletions
|
@ -5,10 +5,6 @@ import sys
|
|||
import pickle
|
||||
import itertools
|
||||
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore", "integer argument expected",
|
||||
DeprecationWarning, "unittest")
|
||||
|
||||
# pure Python implementations (3 args only), for comparison
|
||||
def pyrange(start, stop, step):
|
||||
if (start - stop) // step < 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue