Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 371 Bytes

finding-available-methods-for-class.md

File metadata and controls

11 lines (8 loc) · 371 Bytes

Finding available methods for class

When too lazy to look at documentation for a third party library, inspect allows the methods available on an object to be retrieved quickly:

>>> import inspect
>>> inspect.getmembers("", predicate=inspect.ismethod)

source