summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Marangozov <vladimir.marangozov@t-online.de>2000-09-01 11:07:19 (GMT)
committerVladimir Marangozov <vladimir.marangozov@t-online.de>2000-09-01 11:07:19 (GMT)
commit7bd25be5080ba404cee5d5dc96fdfe62d8c01eac (patch)
tree68cb2d6110d21fed292b5387b04f7eb586f86f02
parent57a5932f13d520ab49fb69f3da84c1e7c463efeb (diff)
downloadcpython-7bd25be5080ba404cee5d5dc96fdfe62d8c01eac.zip
cpython-7bd25be5080ba404cee5d5dc96fdfe62d8c01eac.tar.gz
cpython-7bd25be5080ba404cee5d5dc96fdfe62d8c01eac.tar.bz2
Cosmetics on Py_Get/SetRecursionLimit (for the style guide)
-rw-r--r--Python/ceval.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 45f6556..e8f8e8a 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -302,12 +302,14 @@ Py_MakePendingCalls(void)
static int recursion_limit = 1000;
-int Py_GetRecursionLimit(void)
+int
+Py_GetRecursionLimit(void)
{
return recursion_limit;
}
-void Py_SetRecursionLimit(int new_limit)
+void
+Py_SetRecursionLimit(int new_limit)
{
recursion_limit = new_limit;
}