[pypy-commit] pypy py3.5: Rename argument, as per test_inspect_types

arigo pypy.commits at gmail.com
Sun Jan 8 11:29:45 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89426:eed5601c6e65
Date: 2017-01-08 17:29 +0100
http://bitbucket.org/pypy/pypy/changeset/eed5601c6e65/

Log:	Rename argument, as per test_inspect_types

diff --git a/lib_pypy/_decimal.py b/lib_pypy/_decimal.py
--- a/lib_pypy/_decimal.py
+++ b/lib_pypy/_decimal.py
@@ -1260,8 +1260,8 @@
     def create_decimal(self, num="0"):
         return Decimal._from_object(num, self, exact=False)
 
-    def create_decimal_from_float(self, value):
-        return Decimal._from_float(value, self, exact=False)
+    def create_decimal_from_float(self, f):
+        return Decimal._from_float(f, self, exact=False)
 
     # operations
     def _convert_unaryop(self, a, *, strict=True):


More information about the pypy-commit mailing list