mirror of
https://github.com/python/cpython.git
synced 2025-07-22 18:55:22 +00:00
Issue #1588: Add complex.__format__.
This commit is contained in:
parent
738a41dd85
commit
58a42244cf
6 changed files with 425 additions and 52 deletions
|
@ -6,8 +6,9 @@
|
|||
#include "../Objects/stringlib/unicodedefs.h"
|
||||
|
||||
|
||||
#define FORMAT_STRING _PyUnicode_FormatAdvanced
|
||||
#define FORMAT_LONG _PyLong_FormatAdvanced
|
||||
#define FORMAT_FLOAT _PyFloat_FormatAdvanced
|
||||
#define FORMAT_STRING _PyUnicode_FormatAdvanced
|
||||
#define FORMAT_LONG _PyLong_FormatAdvanced
|
||||
#define FORMAT_FLOAT _PyFloat_FormatAdvanced
|
||||
#define FORMAT_COMPLEX _PyComplex_FormatAdvanced
|
||||
|
||||
#include "../Objects/stringlib/formatter.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue