diff options
author | Raymond Hettinger <python@rcn.com> | 2008-06-22 11:39:13 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-06-22 11:39:13 (GMT) |
commit | d11a44312f2e80a9c4979063ce94233f924dcc5b (patch) | |
tree | 0b3e22010b4d0850aa80d32dcdb4ac3929dcbe03 /Include | |
parent | dd811a4da785119089344f6de5735264f0ca5ec6 (diff) | |
download | cpython-d11a44312f2e80a9c4979063ce94233f924dcc5b.zip cpython-d11a44312f2e80a9c4979063ce94233f924dcc5b.tar.gz cpython-d11a44312f2e80a9c4979063ce94233f924dcc5b.tar.bz2 |
Merge 64438: hex/oct/bin can show floats exactly.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/floatobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/floatobject.h b/Include/floatobject.h index 650d544..ac510dc 100644 --- a/Include/floatobject.h +++ b/Include/floatobject.h @@ -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 |