summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-03-11 08:37:29 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-03-11 08:37:29 (GMT)
commit7069512bd0e09c28a448f21721364ce9c5daa713 (patch)
tree984c1089554d1559784131c8f5a4012296fbc484 /Objects/floatobject.c
parentb3d6be9d9353a5ace956ee22bc29e800a002c332 (diff)
downloadcpython-7069512bd0e09c28a448f21721364ce9c5daa713.zip
cpython-7069512bd0e09c28a448f21721364ce9c5daa713.tar.gz
cpython-7069512bd0e09c28a448f21721364ce9c5daa713.tar.bz2
When 1.6 boosted the # of digits produced by repr(float), repr(complex)
apparently forgot to play along. Make complex act like float.
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r--Objects/floatobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 1215901..b129798 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -314,7 +314,6 @@ PyFloat_AsString(char *buf, PyFloatObject *v)
/* ARGSUSED */
static int
float_print(PyFloatObject *v, FILE *fp, int flags)
- /* flags -- not used but required by interface */
{
char buf[100];
PyFloat_AsStringEx(buf, v, flags&Py_PRINT_RAW ? PREC_STR : PREC_REPR);