diff options
Diffstat (limited to 'doc/data/messages/c/cell-var-from-loop/bad.py')
-rw-r--r-- | doc/data/messages/c/cell-var-from-loop/bad.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/data/messages/c/cell-var-from-loop/bad.py b/doc/data/messages/c/cell-var-from-loop/bad.py index 9dbd43880..b31934189 100644 --- a/doc/data/messages/c/cell-var-from-loop/bad.py +++ b/doc/data/messages/c/cell-var-from-loop/bad.py @@ -1,5 +1,7 @@ def foo(numbers): for i in numbers: + def bar(): print(i) # [cell-var-from-loop] + bar() |