simple_statements
dz / python / docs / reference / simple_statementsNode Tree
Nodes
nonlocal | |
content | nonlocal: causes listed identifiers to refer to names previously bound in nonlocal scope |
children | leetcode/problems/1448_count_good_nodes (Once again, the 'nonlocal' variable trick comes in handy for recursively defined functions used in DFS problems like these) |
parents | leetcode/problems/543_diameter_of_binary_tree, python/docs/reference/simple_statements |
hyperlink | https://docs.python.org/3/reference/simple_stmts.html#the-nonlocal-statement |
location | knowledge/python.dz:224 |