Skip to content

Commit c50fcb5

Browse files
committed
iteritems to items for compatibility with python2 and python3.
1 parent 1fcebff commit c50fcb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
print
1111

1212
print("------------- Retorna Mapa Python -------------")
13-
for k,v in mvrpl.retmapa().iteritems():
13+
for k,v in mvrpl.retmapa().items():
1414
print("Chave: %s" % k)
1515
print("Valor: %s" % v)
1616
print

0 commit comments

Comments
 (0)