Skip to content

Commit

Permalink
Fix typo (#297)
Browse files Browse the repository at this point in the history
_function_ blocks and _comprehension_ blocks are contained only within the _file_ block, and not directly to the _module_ block.
  • Loading branch information
lgalfaso authored Jan 17, 2025
1 parent a56e79e commit 073b43e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1539,11 +1539,6 @@ function, and a _comprehension_ block for each top-level comprehension.
Bindings in either of these kinds of block,
and in the file block itself, are called _local_.
(In the example, the bindings for `e`, `f`, `g`, and `i` are all local.)

A module block contains a _function_ block for each top-level
function, and a _comprehension_ block for each top-level
comprehension.
Bindings inside either of these kinds of block are called _local_.
Additional functions and comprehensions, and their blocks, may be
nested in any order, to any depth.

Expand Down

0 comments on commit 073b43e

Please sign in to comment.