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

Skip to content

Commit 23e618d

Browse files
committed
Removed unused py2 compact functions #12014
1 parent a089b78 commit 23e618d

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

IPython/utils/py3compat.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ def isidentifier(s, dotted=False):
157157
return all(isidentifier(a) for a in s.split("."))
158158
return s.isidentifier()
159159

160-
xrange = range
161-
def iteritems(d): return iter(d.items())
162-
def itervalues(d): return iter(d.values())
163160
getcwd = os.getcwd
164161

165162
MethodType = types.MethodType

0 commit comments

Comments
 (0)