diff options
author | Mohammed Ashour <m.aly.ashour@gmail.com> | 2023-12-14 19:58:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 19:58:53 +0100 |
commit | 05aa44a0419b735dcb6d5e63347c1e0d4ba9fc8e (patch) | |
tree | 8abd26bb17548cbf851d44a6f8b22e7a5638e4c7 /pt-pt | |
parent | 58d91b0ba3e5bd1fda571f92bdd69aab5fd0da04 (diff) |
[python/en] adding an example for closures in python where we use the `nonlocal` … (#4033)
* adding an example for closures in python where we use the `nonlocal` keyword
Adding an example for the case of nested functions with closure scopes, when we use the python 3s keyword 'nonlocal' to point to the variables in the outer functions
* Formatting Comments
Diffstat (limited to 'pt-pt')
0 files changed, 0 insertions, 0 deletions