@@ -31,7 +31,7 @@ introducing scope blocks are:
31
31
+================================+==================================================================================+
32
32
| :ref: `global <man-global >` | module, baremodule, at interactive prompt (REPL) |
33
33
+--------------------------------+------------------------------+---------------------------------------------------+
34
- | :ref: `local <man-local-scope >` | :ref: `soft <man-soft-scope >` | for, while, list- comprehensions, |
34
+ | :ref: `local <man-local-scope >` | :ref: `soft <man-soft-scope >` | for, while, comprehensions, |
35
35
| | | try-catch-finally, let |
36
36
| +------------------------------+---------------------------------------------------+
37
37
| | :ref: `hard <man-hard-scope >` | functions (either syntax, anonymous & do-blocks), |
@@ -187,10 +187,10 @@ Soft Local Scope
187
187
scope unless a variable is specifically marked with the keyword
188
188
``local ``.
189
189
190
- Soft local scopes are introduced by for- loops, while- loops,
191
- list- comprehensions, try-catch-finally- blocks, and let- blocks. There
192
- are some extra rules for :ref: `let- blocks <man-let-blocks >` and for
193
- :ref: `for- loops and list- comprehensions <man-for-loops-scope >`.
190
+ Soft local scopes are introduced by for loops, while loops,
191
+ comprehensions, try-catch-finally blocks, and let blocks. There
192
+ are some extra rules for :ref: `let blocks <man-let-blocks >` and for
193
+ :ref: `for loops and comprehensions <man-for-loops-scope >`.
194
194
195
195
In the following example the ``x `` and ``y `` refer always to the same
196
196
variables as the soft local scope inherits both read and write
0 commit comments