Author: Armin Rigo <ar...@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: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit