Author: Armin Rigo <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to