[pypy-commit] cffi default: Py3 fix
arigo
noreply at buildbot.pypy.org
Fri Sep 25 20:58:39 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r2273:7a485110c403
Date: 2015-09-25 20:59 +0200
http://bitbucket.org/cffi/cffi/changeset/7a485110c403/
Log: Py3 fix
diff --git a/cffi/recompiler.py b/cffi/recompiler.py
--- a/cffi/recompiler.py
+++ b/cffi/recompiler.py
@@ -880,7 +880,7 @@
# not partial (we can't complete or verify them!) and emit them
# anonymously.
lst = self._struct_unions.items()
- lst.sort(key=lambda (tp, order): order)
+ lst.sort(key=lambda tp_order: tp_order[1])
for tp, order in lst:
if tp not in self._seen_struct_unions:
if tp.partial:
More information about the pypy-commit
mailing list