title: Is there a way to name a function and class the same thing in python?
body: <p>I'm working on a module and I want the user to be able to use both a(x) (function &quot;a&quot;) and a.b(x) (class &quot;a&quot; with function &quot;b&quot;), but Python doesn't seem to let me do that. Is there any way around this?</p>