You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/practice/rotational-cipher/.approaches/introduction.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,10 +99,9 @@ A recursive function is a function that calls itself.
99
99
This approach can be more concise than other approaches, and may also be more readable for some audiences.
100
100
101
101
~~~~exercism/caution
102
-
Python does not have any tail-call optimization and has a default [recursion limit][recursion-limit] of 1000 calls on the stack.
102
+
Python does not have any tail-call optimization and has a default [recursion limit](https://docs.python.org/3/library/sys.html#sys.setrecursionlimit) of 1000 calls on the stack.
103
103
Calculate your base case carefully to avoid errors.
Copy file name to clipboardExpand all lines: exercises/practice/rotational-cipher/.approaches/recursion/content.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,10 @@ That translates to something like this: `<letter> + <letter> + <letter> + <lette
31
31
32
32
~~~~exercism/note
33
33
By default, we can't have a function call itself more than 1000 times.
34
-
Code that exceeds this recursion limit will throw a [`RecursionError`][recursion-error].
35
-
While it is possible to [adjust the recursion limit][recursion-limit], doing so risks crashing Python and may also crash your system.
34
+
Code that exceeds this recursion limit will throw a [`RecursionError`](https://docs.python.org/3/library/exceptions.html#RecursionError).
35
+
While it is possible to [adjust the recursion limit](https://docs.python.org/3/library/sys.html#sys.setrecursionlimit), doing so risks crashing Python and may also crash your system.
36
36
Casually raising the recursion limit is not recommended.
0 commit comments