Ole Laursen <o...@iola.dk> added the comment: As the reporter of issue 7276, I think it's a clear explanation of this phenomonen. I think that maybe you should remove the "New Python programmers" in
"New Python programmers are often surprised when they get this error in previously working code when they modify it by adding an assignment statement somewhere in the body of a function." so say something like "It can be a surprise to get this error in previously working code when it is modified by adding an assignment statement somewhere in a function body." ---------- nosy: +olau _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7290> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com