mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Minor grammatical fix.
This commit is contained in:
parent
c40b7afee2
commit
82b24827f6
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ package. The interpreter detects syntax errors in two distinct
|
||||||
phases. One set of errors is detected by the interpreter's parser,
|
phases. One set of errors is detected by the interpreter's parser,
|
||||||
the other set by the compiler. The compiler package relies on the
|
the other set by the compiler. The compiler package relies on the
|
||||||
interpreter's parser, so it get the first phases of error checking for
|
interpreter's parser, so it get the first phases of error checking for
|
||||||
free. It implements the second phase itself, and that implement is
|
free. It implements the second phase itself, and that implementation is
|
||||||
incomplete. For example, the compiler package does not raise an error
|
incomplete. For example, the compiler package does not raise an error
|
||||||
if a name appears more than once in an argument list:
|
if a name appears more than once in an argument list:
|
||||||
\code{def f(x, x): ...}
|
\code{def f(x, x): ...}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue