summaryrefslogtreecommitdiffstats
path: root/Include/floatobject.h
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-01-18 03:14:59 (GMT)
committerGitHub <noreply@github.com>2020-01-18 03:14:59 (GMT)
commitcd7db76a636c218b2d81d3526eb435cfae61f212 (patch)
tree282471f1c269d9155a764960769347a9871b711e /Include/floatobject.h
parent6aabb63d96845b3cb207d28d40bf0b78e171be75 (diff)
downloadcpython-cd7db76a636c218b2d81d3526eb435cfae61f212.zip
cpython-cd7db76a636c218b2d81d3526eb435cfae61f212.tar.gz
cpython-cd7db76a636c218b2d81d3526eb435cfae61f212.tar.bz2
bpo-39372: Clean header files of declared interfaces with no implementations (GH-18037)
The public API symbols being removed are: _PyBytes_InsertThousandsGroupingLocale, _PyBytes_InsertThousandsGrouping, _Py_InitializeFromArgs, _Py_InitializeFromWideArgs, _PyFloat_Repr, _PyFloat_Digits, _PyFloat_DigitsInit, PyFrame_ExtendStack, _PyAIterWrapper_Type, PyNullImporter_Type, PyCmpWrapper_Type, PySortWrapper_Type, PyNoArgsFunction.
Diffstat (limited to 'Include/floatobject.h')
-rw-r--r--Include/floatobject.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/Include/floatobject.h b/Include/floatobject.h
index f1044d6..0fb9fc4 100644
--- a/Include/floatobject.h
+++ b/Include/floatobject.h
@@ -88,15 +88,6 @@ PyAPI_FUNC(int) _PyFloat_Pack2(double x, unsigned char *p, int le);
PyAPI_FUNC(int) _PyFloat_Pack4(double x, unsigned char *p, int le);
PyAPI_FUNC(int) _PyFloat_Pack8(double x, unsigned char *p, int le);
-/* Needed for the old way for marshal to store a floating point number.
- Returns the string length copied into p, -1 on error.
- */
-PyAPI_FUNC(int) _PyFloat_Repr(double x, char *p, size_t len);
-
-/* Used to get the important decimal digits of a double */
-PyAPI_FUNC(int) _PyFloat_Digits(char *buf, double v, int *signum);
-PyAPI_FUNC(void) _PyFloat_DigitsInit(void);
-
/* The unpack routines read 2, 4 or 8 bytes, starting at p. le is a bool
* argument, true if the string is in little-endian format (exponent
* last, at p+1, p+3 or p+7), false if big-endian (exponent first, at p).