Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r95147:99b6e798bdad Date: 2018-09-19 18:36 +0200 http://bitbucket.org/pypy/pypy/changeset/99b6e798bdad/
Log: oops diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__/functional.py --- a/pypy/module/__builtin__/functional.py +++ b/pypy/module/__builtin__/functional.py @@ -136,7 +136,7 @@ max_jitdriver = jit.JitDriver(name='max', greens=['has_key', 'has_item', 'w_type'], reds='auto') -@specialize.arg(2) +@specialize.arg(3) def min_max_sequence(space, w_sequence, w_key, implementation_of): if implementation_of == "max": compare = space.gt @@ -172,7 +172,7 @@ raise oefmt(space.w_ValueError, "arg is an empty sequence") return w_max_item -@specialize.arg(2) +@specialize.arg(3) @jit.look_inside_iff(lambda space, args_w, w_key, implementation_of: jit.loop_unrolling_heuristic(args_w, len(args_w), 3)) def min_max_multiple_args(space, args_w, w_key, implementation_of): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit