8000 [3.9] bpo-43439: Wrapt the tuple in the audit events for the gc modul… · python/cpython@e6bf1e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit e6bf1e1

Browse files
authored
[3.9] bpo-43439: Wrapt the tuple in the audit events for the gc module (GH-24836) (GH-24855)
* [3.9] bpo-43439: Wrapt the tuple in the audit events for the gc module (GH-24836). (cherry picked from commit 9c376bc) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> * Update gcmodule.c * Update gcmodule.c * Update gcmodule.c
1 parent 45d9c8c commit e6bf1e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/gcmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ gc_get_referrers(PyObject *self, PyObject *args)
16751675
PyThreadState *tsta 8000 te = _PyThreadState_GET();
16761676
int i;
16771677

1678-
if (PySys_Audit("gc.get_referrers", "O", args) < 0) {
1678+
if (PySys_Audit("gc.get_referrers", "(O)", args) < 0) {
16791679
return NULL;
16801680
}
16811681

@@ -1709,7 +1709,7 @@ static PyObject *
17091709
gc_get_referents(PyObject *self, PyObject *args)
17101710
{
17111711
Py_ssize_t i;
1712-
if (PySys_Audit("gc.get_referents", "O", args) < 0) {
1712+
if (PySys_Audit("gc.get_referents", "(O)", args) < 0) {
17131713
return NULL;
17141714
}
17151715
PyObject *result = PyList_New(0);

0 commit comments

Comments
 (0)
0