Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-11-19 09:50:45

0001 #ifndef Py_INTERNAL_COMPLEXOBJECT_H
0002 #define Py_INTERNAL_COMPLEXOBJECT_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006 
0007 #ifndef Py_BUILD_CORE
0008 #  error "this header requires Py_BUILD_CORE define"
0009 #endif
0010 
0011 #include "pycore_unicodeobject.h" // _PyUnicodeWriter
0012 
0013 /* Format the object based on the format_spec, as defined in PEP 3101
0014    (Advanced String Formatting). */
0015 extern int _PyComplex_FormatAdvancedWriter(
0016     _PyUnicodeWriter *writer,
0017     PyObject *obj,
0018     PyObject *format_spec,
0019     Py_ssize_t start,
0020     Py_ssize_t end);
0021 
0022 #ifdef __cplusplus
0023 }
0024 #endif
0025 #endif  // !Py_INTERNAL_COMPLEXOBJECT_H