PEP 651: Clarify that examples in abstract refer to the PEP being accepted, not now. (#1771)

This commit is contained in:
Mark Shannon 2021-01-20 15:20:35 +00:00 committed by GitHub
parent 9d778c6b28
commit 62b03c20a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ This PEP proposes that machine stack overflow is treated differently from runawa
This would allow programs to set the maximum recursion depth to fit their needs
and provide additional safety guarantees.
The following program will run safely to completion::
If this PEP is accepted, then the following program will run safely to completion::
sys.setrecursionlimit(1_000_000)
@ -25,7 +25,7 @@ The following program will run safely to completion::
f(500_000)
The following program will raise a ``StackOverflow``, without causing a VM crash::
and the following program will raise a ``StackOverflow``, without causing a VM crash::
sys.setrecursionlimit(1_000_000)