running lib2to3.fixes.fix_tuple_params

This commit is contained in:
ilvalle
2016-05-29 08:31:20 +02:00
parent a5599f3eab
commit 9588ba690c
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -41,8 +41,7 @@ regex_crlf = re.compile('\r|\n')
join = ''.join
# name2codepoint is incomplete respect to xhtml (and xml): 'apos' is missing.
entitydefs = dict(map(lambda (
k, v): (k, unichr(v).encode('utf-8')), name2codepoint.iteritems()))
entitydefs = dict(map(lambda k_v: (k_v[0], unichr(k_v[1]).encode('utf-8')), name2codepoint.iteritems()))
entitydefs.setdefault('apos', u"'".encode('utf-8'))