Skip to content

Instantly share code, notes, and snippets.

@nriley
Created June 7, 2009 20:03
Show Gist options
  • Save nriley/125459 to your computer and use it in GitHub Desktop.
Save nriley/125459 to your computer and use it in GitHub Desktop.
class Foo(object):
def is_it_a_foo(self, other):
print issubclass(Foo, other)
Foo().is_it_a_foo(Foo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment