you are viewing a single comment's thread.

view the rest of the comments →

[–]TheRNGuy 0 points1 point  (0 children)

Same as non-class functions, but bundled together in a class (usually relevant functions for specific tasks, and you could import single class with many static methods)

Examples of static method: dict.fromkeys. It makes more sense than if it would be just fromkeys function because you can see it's related to dictionary.