mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
Issue #20186: Regenerated Argument Clinic.
This commit is contained in:
parent
8c67fdd24b
commit
97353845f8
2 changed files with 3 additions and 3 deletions
|
|
@ -1177,7 +1177,7 @@ Return True if the tracemalloc module is tracing Python memory allocations.
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_tracemalloc_is_tracing_impl(PyObject *module)
|
_tracemalloc_is_tracing_impl(PyObject *module)
|
||||||
/*[clinic end generated code: output=2d763b42601cd3ef input=8beb4fb5446813be]*/
|
/*[clinic end generated code: output=2d763b42601cd3ef input=af104b0a00192f63]*/
|
||||||
{
|
{
|
||||||
return PyBool_FromLong(tracemalloc_config.tracing);
|
return PyBool_FromLong(tracemalloc_config.tracing);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ PyDoc_STRVAR(_tracemalloc_is_tracing__doc__,
|
||||||
"is_tracing($module, /)\n"
|
"is_tracing($module, /)\n"
|
||||||
"--\n"
|
"--\n"
|
||||||
"\n"
|
"\n"
|
||||||
"True if the tracemalloc module is tracing Python memory allocations, False otherwise.");
|
"Return True if the tracemalloc module is tracing Python memory allocations.");
|
||||||
|
|
||||||
#define _TRACEMALLOC_IS_TRACING_METHODDEF \
|
#define _TRACEMALLOC_IS_TRACING_METHODDEF \
|
||||||
{"is_tracing", (PyCFunction)_tracemalloc_is_tracing, METH_NOARGS, _tracemalloc_is_tracing__doc__},
|
{"is_tracing", (PyCFunction)_tracemalloc_is_tracing, METH_NOARGS, _tracemalloc_is_tracing__doc__},
|
||||||
|
|
@ -189,4 +189,4 @@ _tracemalloc_get_traced_memory(PyObject *module, PyObject *Py_UNUSED(ignored))
|
||||||
{
|
{
|
||||||
return _tracemalloc_get_traced_memory_impl(module);
|
return _tracemalloc_get_traced_memory_impl(module);
|
||||||
}
|
}
|
||||||
/*[clinic end generated code: output=1e059f24619e23f9 input=a9049054013a1b77]*/
|
/*[clinic end generated code: output=159ce5d627964f09 input=a9049054013a1b77]*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue