Micro-optimization

This commit is contained in:
Kovid Goyal 2019-04-29 21:27:14 +05:30
parent 05816c2c85
commit 1744a2b2fd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -8,10 +8,7 @@ import sys
is_py3 = sys.version_info.major >= 3
native_string_type = str
def iterkeys(d):
return iter(d)
iterkeys = iter
def as_bytes(x, encoding='utf-8'):