What does the Python nonlocal statement do (in Python 3.0 and later)?

There’s no documentation on the official Python website and help("nonlocal") does not work, either.

9 Answers
9

Leave a Reply

Your email address will not be published. Required fields are marked *