Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Nov 2, 2024
1 parent b84dde3 commit bf3e120
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Modules/_lsprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ profiler_dealloc(ProfilerObject *op)
}

/*[clinic input]
_lsprof.Profiler.__init__ as profile_init
_lsprof.Profiler.__init__ as profiler_init
timer: object(c_default='NULL') = None
timeunit: double = 0.0
Expand All @@ -949,9 +949,9 @@ is, in seconds).
[clinic start generated code]*/

static int
profile_init_impl(ProfilerObject *self, PyObject *timer, double timeunit,
int subcalls, int builtins)
/*[clinic end generated code: output=123b1ff3fc783e14 input=25202b9566e5441c]*/
profiler_init_impl(ProfilerObject *self, PyObject *timer, double timeunit,
int subcalls, int builtins)
/*[clinic end generated code: output=ac523803ec9f9df2 input=8285ca746f96a414]*/
{
if (setSubcalls(self, subcalls) < 0 || setBuiltins(self, builtins) < 0)
return -1;
Expand Down Expand Up @@ -985,10 +985,10 @@ static PyMethodDef profiler_methods[] = {
};

static PyType_Slot _lsprof_profiler_type_spec_slots[] = {
{Py_tp_doc, (void *)profile_init__doc__},
{Py_tp_doc, (void *)profiler_init__doc__},
{Py_tp_methods, profiler_methods},
{Py_tp_dealloc, profiler_dealloc},
{Py_tp_init, profile_init},
{Py_tp_init, profiler_init},
{Py_tp_traverse, profiler_traverse},
{0, 0}
};
Expand Down
12 changes: 6 additions & 6 deletions Modules/clinic/_lsprof.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bf3e120

Please sign in to comment.