Message218783
Terry: I meant exactly what I wrote, and not some unrelated examples:
def f():
n = 1
class A: n = n
doesn't work, but the same two lines ("n = 1"; "class A: n = n") work if written at module level instead of in a function. |
|
Date |
User |
Action |
Args |
2014-05-19 07:55:59 | arigo | set | recipients:
+ arigo, terry.reedy, ethan.furman |
2014-05-19 07:55:59 | arigo | set | messageid: <1400486159.5.0.31970691822.issue19979@psf.upfronthosting.co.za> |
2014-05-19 07:55:59 | arigo | link | issue19979 messages |
2014-05-19 07:55:59 | arigo | create | |
|