Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3.3
Changeset: r72574:d13fde936489
Date: 2014-07-27 11:35 -0700
http://bitbucket.org/pypy/pypy/changeset/d13fde936489/

Log:    call this args_w per the naming conventions

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
@@ -670,8 +670,8 @@
     def descr_reduce(self, space):
         w_map = space.getattr(space.getbuiltinmodule('builtins'),
                 space.wrap('map'))
-        args = [self.w_fun] + self.iterators_w
-        return space.newtuple([w_map, space.newtuple(args)])
+        args_w = [self.w_fun] + self.iterators_w
+        return space.newtuple([w_map, space.newtuple(args_w)])
 
 
 def W_Map___new__(space, w_subtype, w_fun, args_w):
@@ -721,9 +721,9 @@
     def descr_reduce(self, space):
         w_filter = space.getattr(space.getbuiltinmodule('builtins'),
                 space.wrap('filter'))
-        args = [space.w_None if self.no_predicate else self.w_predicate,
-                self.iterable]
-        return space.newtuple([w_filter, space.newtuple(args)])
+        args_w = [space.w_None if self.no_predicate else self.w_predicate,
+                  self.iterable]
+        return space.newtuple([w_filter, space.newtuple(args_w)])
 
 
 def W_Filter___new__(space, w_subtype, w_predicate, w_iterable):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to