mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-43916: Move the _PyStructSequence_InitType function to the internal API (GH-25854)
This commit is contained in:
parent
440c025726
commit
c2931d31f8
10 changed files with 26 additions and 9 deletions
|
@ -11,6 +11,7 @@
|
|||
#include "pycore_tuple.h" // _PyTuple_FromArray()
|
||||
#include "pycore_object.h" // _PyObject_GC_TRACK()
|
||||
#include "structmember.h" // PyMemberDef
|
||||
#include "pycore_structseq.h" // PyStructSequence_InitType()
|
||||
|
||||
static const char visible_length_key[] = "n_sequence_fields";
|
||||
static const char real_length_key[] = "n_fields";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue