diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-03-14 03:04:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-14 03:04:47 (GMT) |
commit | 9c376bc1c4c8bcddb0bc4196b79ec8c75da494a8 (patch) | |
tree | c1994b88cc086bfba0db8dd32ed3165e7ccd2b3a /Modules/gcmodule.c | |
parent | f2b45367f1c049da76f81fb2920449b4909e0638 (diff) | |
download | cpython-9c376bc1c4c8bcddb0bc4196b79ec8c75da494a8.zip cpython-9c376bc1c4c8bcddb0bc4196b79ec8c75da494a8.tar.gz cpython-9c376bc1c4c8bcddb0bc4196b79ec8c75da494a8.tar.bz2 |
bpo-43439: Wrapt the tuple in the audit events for the gc module (GH-24836)
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r-- | Modules/gcmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 225da2b..d6b5142 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -1690,7 +1690,7 @@ Return the list of objects that directly refer to any of objs."); static PyObject * gc_get_referrers(PyObject *self, PyObject *args) { - if (PySys_Audit("gc.get_referrers", "O", args) < 0) { + if (PySys_Audit("gc.get_referrers", "(O)", args) < 0) { return NULL; } @@ -1724,7 +1724,7 @@ static PyObject * gc_get_referents(PyObject *self, PyObject *args) { Py_ssize_t i; - if (PySys_Audit("gc.get_referents", "O", args) < 0) { + if (PySys_Audit("gc.get_referents", "(O)", args) < 0) { return NULL; } PyObject *result = PyList_New(0); |