Skip to content

Commit 7df2176

Browse files
committed
Rename symbol
1 parent 37d7c4b commit 7df2176

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Include/internal/pycore_tuple.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extern PyStatus _PyTuple_InitGlobalObjects(PyInterpreterState *);
2121

2222
/* other API */
2323

24-
PyAPI_FUNC(void) _PyTuple_ExactDealloc(PyObject *self);
24+
PyAPI_FUNC(void) _PyTuple_EmptyExactDealloc(PyObject *self);
2525

2626
#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
2727

Objects/tupleobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ PyTuple_Pack(Py_ssize_t n, ...)
206206
/* Methods */
207207

208208
void
209-
_PyTuple_ExactDealloc(PyObject *obj)
209+
_PyTuple_EmptyExactDealloc(PyObject *obj)
210210
{
211211
assert(PyTuple_CheckExact(obj));
212212
PyTupleObject *op = _PyTuple_CAST(obj);

Python/bytecodes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "pycore_sliceobject.h" // _PyBuildSlice_ConsumeRefs
3131
#include "pycore_stackref.h"
3232
#include "pycore_template.h" // _PyTemplate_Build()
33-
#include "pycore_tuple.h" // _PyTuple_ExactDealloc(), _PyTuple_ITEMS()
33+
#include "pycore_tuple.h" // _PyTuple_EmptyExactDealloc(), _PyTuple_ITEMS()
3434
#include "pycore_typeobject.h" // _PySuper_Lookup()
3535

3636
#include "pycore_dict.h"
@@ -1682,7 +1682,7 @@ dummy_func(
16821682
*values++ = PyStackRef_FromPyObjectSteal(items[i]);
16831683
items[i] = NULL;
16841684
}
1685-
PyStackRef_CLOSE_SPECIALIZED(seq, _PyTuple_ExactDealloc);
1685+
PyStackRef_CLOSE_SPECIALIZED(seq, _PyTuple_EmptyExactDealloc);
16861686
}
16871687

16881688
macro(UNPACK_SEQUENCE_LIST) =

Python/executor_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)