class C(object):

    def __hide_me(self):
        return 11

def public(self):
    return self.__hide_me()
c = C()
c.__hide_me()
c.public()
c._C__hide_me()
Determining scope / context of a method call in python