@pamelafox I’m new to learning python, so i had to look it up.
Now that I think I understand the concept, I agree.
Question: Instead of using nonlocal — why not pass the value as a argument through the necessary functions? At least it’s clear about the flow of data.
=> More informations about this toot | View the thread | More toots from awoodsnet@phpc.social
=> View pamelafox@fosstodon.org profile
text/gemini
This content has been proxied by September (3851b).