Skip to content

setRecursionLimit

setRecursionLimit(limit: number): void

Defined in: packages/pythonlib/src/sys.ts:154

Set the maximum depth of the Python interpreter stack. This is a no-op in JavaScript as recursion is managed differently.

Parameters

ParameterTypeDescription
limitnumberThe new recursion limit

Returns

void