what is this code mean in python,
<pre><code>def a():
    print 'sss'

print getattr(a, "_decorated_function", a).__name__
</code></pre>

<p>it print :</p>

<pre><code>a
</code></pre>

<p>thanks</p>

<p><strong>updated</strong></p>

<p>my code:</p>

<pre><code>def a():
    w='www'

print getattr(a,'w')
</code></pre>

<p>but it print :</p>

<pre><code>Traceback (most recent call last):
  File "D:\zjm_code\a.py", line 8, in &lt;module&gt;
    print getattr(a,'w')
AttributeError: 'function' object has no attribute 'w'
</code></pre>
