PEP 572: Fix typo ("assing -> assign") (#715)
This commit is contained in:
parent
26e6f61fab
commit
6781796a53
|
@ -595,7 +595,7 @@ Broadly the same semantics as the current proposal, but spelled differently.
|
||||||
would create unnecessary confusion or require special-casing
|
would create unnecessary confusion or require special-casing
|
||||||
(e.g. to forbid assignment within the headers of these statements).
|
(e.g. to forbid assignment within the headers of these statements).
|
||||||
|
|
||||||
(Note that ``with EXPR as VAR`` does *not* simply assing the value
|
(Note that ``with EXPR as VAR`` does *not* simply assign the value
|
||||||
of ``EXPR`` to ``VAR`` -- it calls ``EXPR.__enter__()`` and assigns
|
of ``EXPR`` to ``VAR`` -- it calls ``EXPR.__enter__()`` and assigns
|
||||||
the result of *that* to ``VAR``.)
|
the result of *that* to ``VAR``.)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue