Cosmetics on Py_Get/SetRecursionLimit (for the style guide)
This commit is contained in:
parent
57a5932f13
commit
7bd25be508
|
@ -302,12 +302,14 @@ Py_MakePendingCalls(void)
|
||||||
|
|
||||||
static int recursion_limit = 1000;
|
static int recursion_limit = 1000;
|
||||||
|
|
||||||
int Py_GetRecursionLimit(void)
|
int
|
||||||
|
Py_GetRecursionLimit(void)
|
||||||
{
|
{
|
||||||
return recursion_limit;
|
return recursion_limit;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Py_SetRecursionLimit(int new_limit)
|
void
|
||||||
|
Py_SetRecursionLimit(int new_limit)
|
||||||
{
|
{
|
||||||
recursion_limit = new_limit;
|
recursion_limit = new_limit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue