On 2/07/20 4:54 am, Brandt Bucher wrote:
It sounds like you want to add "global z" to the top of the function definition.
Or more likely, change the last case to 'case _'. -- Greg _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/OFTPNYVV2JSXN2R6ZYH6PYATOXBP37UO/ Code of Conduct: http://python.org/psf/codeofconduct/