mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Added a missing } in the USE_STACKCHECK code.
This commit is contained in:
parent
275abb3f1b
commit
0d15908629
1 changed files with 1 additions and 0 deletions
|
|
@ -570,6 +570,7 @@ SRE_MATCH(SRE_STATE* state, SRE_CODE* pattern, int level)
|
|||
#if defined(USE_STACKCHECK)
|
||||
if (level % 10 == 0 && PyOS_CheckStack()) {
|
||||
return SRE_ERROR_RECURSION_LIMIT;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(USE_RECURSION_LIMIT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue