Irit Katriel <iritkatr...@gmail.com> added the comment:
The doc has been updated by now and mentions "excluding globals". I'm changing the title to reflect Terry's last comment. One comment on his suggestion: I would remove/change "the nonlocal statement is similar to the global statement" because it's not obvious in what way it is similar just from the sentence, I think this is more confusing then helpful. ---------- keywords: +easy -patch nosy: +iritkatriel title: Nonlocal does not include global; clarify doc -> [doc] clarify documentation of nonlocal versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue12165> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com