summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/floatobject.c11
-rw-r--r--PC/os2emx/python27.def1
2 files changed, 0 insertions, 12 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 745fe54..73d7903 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -299,17 +299,6 @@ PyFloat_AsDouble(PyObject *op)
/* Methods */
-/* XXX PyFloat_AsStringEx should not be a public API function (for one
- XXX thing, its signature passes a buffer without a length; for another,
- XXX it isn't useful outside this file).
-*/
-void
-PyFloat_AsStringEx(char *buf, PyFloatObject *v, int precision)
-{
- _PyOS_double_to_string(buf, 100, v->ob_fval, 'g', precision,
- Py_DTSF_ADD_DOT_0, NULL);
-}
-
/* Macro and helper that convert PyObject obj to a C double and store
the value in dbl; this replaces the functionality of the coercion
slot function. If conversion to double raises an exception, obj is
diff --git a/PC/os2emx/python27.def b/PC/os2emx/python27.def
index 1a258e7..7b728a9 100644
--- a/PC/os2emx/python27.def
+++ b/PC/os2emx/python27.def
@@ -306,7 +306,6 @@ EXPORTS
"PyFloat_AsReprString"
"PyFloat_AsString"
"_PyFloat_Init"
- "PyFloat_AsStringEx"
"PyFloat_Type"
; From python27_s.lib(frameobject)