On Thu, Jan 31, 2013 at 10:21 PM, Jason Keene <jasonkeene at gmail.com> wrote: > Additionally, both definitions > produce very similar byte codes: > > 3 MAKE_FUNCTION 0 > 6 STORE_FAST 0 (my_func) > > 9 MAKE_FUNCTION 0 > 12 CALL_FUNCTION 0 > 15 BUILD_CLASS > 16 STORE_FAST 0 (MyClass) That's just an implementation detail. -eric