Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: Any reason why generator object repr is formed differently from function and code?
>>> def f(): yield 1 ... >>> f() <f generator object at 0x2a98530560> >>> f <function f at 0x2a985245a0> >>> f.__code__ <code object f at 0x2a956bc040, file "<stdin>", line 1> ---------- nosy: +belopolsky __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2863> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com