mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-27 01:57:33 +00:00
9 lines
141 B
Python
9 lines
141 B
Python
import sys
|
|
|
|
PY2 = sys.version_info[0] == 2
|
|
|
|
|
|
if PY2:
|
|
iteritems = lambda d: d.iteritems()
|
|
else:
|
|
iteritems = lambda d: iter(d.items())
|