8000 Replace iteritems with six helper · sangsiri/twilio-python@d815c8d · GitHub
[go: up one dir, main page]

Skip to content

Commit d815c8d

Browse files
author
Carlos Diaz-Padron
committed
Replace iteritems with six helper
1 parent 819271a commit d815c8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

twilio/values.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
from six import iteritems
12
unset = object()
23

34

45
def of(d):
5-
return {k: v for k, v in d.iteritems() if v != unset}
6+
return {k: v for k, v in iteritems(d) if v != unset}
67

0 commit comments

Comments
 (0)
0