Skip to content

Instantly share code, notes, and snippets.

@dheaney
Created October 29, 2013 03:46
Show Gist options
  • Select an option

  • Save dheaney/7208916 to your computer and use it in GitHub Desktop.

Select an option

Save dheaney/7208916 to your computer and use it in GitHub Desktop.
# Return a list of tuples containing string representations of, and references to, OBJECT's methods
import inspect
inspect.getmembers(OBJECT, predicate=inspect.ismethod)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment