what is this code mean in python,

Posted by zjm1126 on Stack Overflow See other posts from Stack Overflow or by zjm1126
Published on 2010-04-28T07:13:55Z Indexed on 2010/04/28 7:23 UTC
Read the original article Hit count: 382

Filed under:
|
def a():
    print 'sss'

print getattr(a, "_decorated_function", a).__name__

it print :

a

thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about beginner