Benjamin Peterson added the comment: I suppose it would also be desirable to have
def f(): C = None def g(): nonlocal C class C: pass return g() have a different qualname, too? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19301> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com