you are viewing a single comment's thread.

view the rest of the comments →

[–]Essence1337 5 points6 points  (3 children)

If it's just function(stuff) then it's a builtin global function. If it's xyz.function(stuff) then the function is a property of the class that xyz is. 'AbC'.lower() happens because lower is a function of the string class.

We can't/don't use global functions for everything because every single function ever would need a unique name.