class Foo(): def dang(): return "foo" class Bar(): def dang(): return "bar" Bar.dang()