Skip to content

Commit 951f70c

Browse files
committed
renaming
1 parent e5ab45a commit 951f70c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Python/legacy_tracing.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,54 +58,54 @@ call_profile_func(_PyLegacyEventHandler *self, PyObject *arg)
5858

5959
static PyObject *
6060
sys_profile_start(
61-
PyObject *op, PyObject *const *args,
61+
PyObject *callable, PyObject *const *args,
6262
size_t nargsf, PyObject *kwnames
6363
) {
64-
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(op);
64+
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(callable);
6565
assert(kwnames == NULL);
6666
assert(PyVectorcall_NARGS(nargsf) == 2);
6767
return call_profile_func(self, Py_None);
6868
}
6969

7070
static PyObject *
7171
sys_profile_throw(
72-
PyObject *op, PyObject *const *args,
72+
PyObject *callable, PyObject *const *args,
7373
size_t nargsf, PyObject *kwnames
7474
) {
75-
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(op);
75+
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(callable);
7676
assert(kwnames == NULL);
7777
assert(PyVectorcall_NARGS(nargsf) == 3);
7878
return call_profile_func(self, Py_None);
7979
}
8080

8181
static PyObject *
8282
sys_profile_return(
83-
PyObject *op, PyObject *const *args,
83+
PyObject *callable, PyObject *const *args,
8484
size_t nargsf, PyObject *kwnames
8585
) {
86-
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(op);
86+
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(callable);
8787
assert(kwnames == NULL);
8888
assert(PyVectorcall_NARGS(nargsf) == 3);
8989
return call_profile_func(self, args[2]);
9090
}
9191

9292
static PyObject *
9393
sys_profile_unwind(
94-
PyObject *op, PyObject *const *args,
94+
PyObject *callable, PyObject *const *args,
9595
size_t nargsf, PyObject *kwnames
9696
) {
97-
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(op);
97+
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(callable);
9898
assert(kwnames == NULL);
9999
assert(PyVectorcall_NARGS(nargsf) == 3);
100100
return call_profile_func(self, NULL);
101101
}
102102

103103
static PyObject *
104104
sys_profile_call_or_return(
105-
PyObject *op, PyObject *const *args,
105+
PyObject *callable, PyObject *const *args,
106106
size_t nargsf, PyObject *kwnames
107107
) {
108-
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(op);
108+
_PyLegacyEventHandler *self = _PyLegacyEventHandler_CAST(callable);
109109
assert(kwnames == NULL);
110110
assert(PyVectorcall_NARGS(nargsf) == 4);
111111
PyObject *callable = args[2];

0 commit comments

Comments
 (0)