mirror of
https://github.com/marcus-alicia/iRedAdmin-Pro-SQL.git
synced 2026-06-05 20:09:44 +00:00
Add files via upload
This commit is contained in:
7
web/py3helpers.py
Normal file
7
web/py3helpers.py
Normal file
@@ -0,0 +1,7 @@
|
||||
"""Utilities for make the code run both on Python2 and Python3.
|
||||
"""
|
||||
|
||||
# Dictionary iteration
|
||||
iterkeys = lambda d: iter(d.keys())
|
||||
itervalues = lambda d: iter(d.values())
|
||||
iteritems = lambda d: iter(d.items())
|
||||
Reference in New Issue
Block a user