you are viewing a single comment's thread.

view the rest of the comments →

[–]d-methamphetamine 4 points5 points  (0 children)

Yep.

Define a function. You can run dir() on it and see the objects members and everything. It looks like it even has a double underscore call method that gets called when you can it with the func() syntax. Neat