Let's say I have this code:
class class1(object):
    def __init__(self):
        #don't worry about this 
    def parse(self, array):
        # do something with array
class class2(object):
    def __init__(self):
        #don't worry about this 
    def parse(self, array):
        # do something else with array
I want to be able to call class1's parse from class2 and vice-versa. I know with c++ this can be done quite easily by doing
class1::parse(array)
How would I do the equivalent in python?
