def __cmp__( self, other ):
        if not isinstance (other,self.__class__):
            return cmp( self.__class__, type(other) )
        return cmp( self.key, other.key)
:param newcwd: directory to make the cwd
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/dispatch/saferef.py/BoundMethodWeakref.__cmp__--crossover with--dataset/ETHPy150Open calvinschmdt/EasyTensorflow/pavement.py/cwd.__init__