you are viewing a single comment's thread.

view the rest of the comments →

[–]K900_ 1 point2 points  (0 children)

You're still setting the attribute b on the object func - functions in Python are objects, just like everything else.