mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Merge 64438: hex/oct/bin can show floats exactly.
This commit is contained in:
parent
dd811a4da7
commit
d11a44312f
4 changed files with 63 additions and 1 deletions
|
@ -111,6 +111,8 @@ PyAPI_FUNC(PyObject *) _PyFloat_FormatAdvanced(PyObject *obj,
|
|||
Py_UNICODE *format_spec,
|
||||
Py_ssize_t format_spec_len);
|
||||
|
||||
PyAPI_FUNC(PyObject *) _float_to_base(PyObject *v, int base);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue