diff options
Diffstat (limited to 'contrib/tools/python3/Include/internal/pycore_complexobject.h')
| -rw-r--r-- | contrib/tools/python3/Include/internal/pycore_complexobject.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/tools/python3/Include/internal/pycore_complexobject.h b/contrib/tools/python3/Include/internal/pycore_complexobject.h new file mode 100644 index 00000000000..54713536eed --- /dev/null +++ b/contrib/tools/python3/Include/internal/pycore_complexobject.h @@ -0,0 +1,25 @@ +#ifndef Py_INTERNAL_COMPLEXOBJECT_H +#define Py_INTERNAL_COMPLEXOBJECT_H +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef Py_BUILD_CORE +# error "this header requires Py_BUILD_CORE define" +#endif + +#include "pycore_unicodeobject.h" // _PyUnicodeWriter + +/* Format the object based on the format_spec, as defined in PEP 3101 + (Advanced String Formatting). */ +extern int _PyComplex_FormatAdvancedWriter( + _PyUnicodeWriter *writer, + PyObject *obj, + PyObject *format_spec, + Py_ssize_t start, + Py_ssize_t end); + +#ifdef __cplusplus +} +#endif +#endif // !Py_INTERNAL_COMPLEXOBJECT_H |
