diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-22 15:27:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 15:27:35 (GMT) |
commit | 384621c42f9102e31ba2c47feba144af09c989e5 (patch) | |
tree | 07a92a8cdeb0234d18c392d503780255ccca81ad /Include | |
parent | 9e27bc0c1efc7478872f98729f87886e9333548f (diff) | |
download | cpython-384621c42f9102e31ba2c47feba144af09c989e5.zip cpython-384621c42f9102e31ba2c47feba144af09c989e5.tar.gz cpython-384621c42f9102e31ba2c47feba144af09c989e5.tar.bz2 |
bpo-41078: Rename pycore_tupleobject.h to pycore_tuple.h (GH-21056)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_tuple.h (renamed from Include/internal/pycore_tupleobject.h) | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Include/internal/pycore_tupleobject.h b/Include/internal/pycore_tuple.h index f95f16c..5353e18 100644 --- a/Include/internal/pycore_tupleobject.h +++ b/Include/internal/pycore_tuple.h @@ -1,5 +1,5 @@ -#ifndef Py_INTERNAL_TUPLEOBJECT_H -#define Py_INTERNAL_TUPLEOBJECT_H +#ifndef Py_INTERNAL_TUPLE_H +#define Py_INTERNAL_TUPLE_H #ifdef __cplusplus extern "C" { #endif @@ -11,9 +11,10 @@ extern "C" { #include "tupleobject.h" /* _PyTuple_CAST() */ #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item) + PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t); #ifdef __cplusplus } #endif -#endif /* !Py_INTERNAL_TUPLEOBJECT_H */ +#endif /* !Py_INTERNAL_TUPLE_H */ |