Author: Manuel Jacob
Branch: remove-remaining-smm
Changeset: r69389:28453212be9c
Date: 2014-02-25 04:41 +0100
http://bitbucket.org/pypy/pypy/changeset/28453212be9c/

Log:    Fix.

diff --git a/pypy/objspace/std/complexobject.py 
b/pypy/objspace/std/complexobject.py
--- a/pypy/objspace/std/complexobject.py
+++ b/pypy/objspace/std/complexobject.py
@@ -127,10 +127,10 @@
     else:
         return formatd(x, code, precision)
 
-def repr_format(self, x):
+def repr_format(x):
     return format_float(x, 'r', 0)
 
-def str_format(self, x):
+def str_format(x):
     return format_float(x, 'g', DTSF_STR_PRECISION)
 
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to