def __getattr__(self, attr):
        if attr=='get':
            return _Executable(self._gh, 'GET', self._name)
        if attr=='put':
            return _Executable(self._gh, 'PUT', self._name)
        if attr=='post':
            return _Executable(self._gh, 'POST', self._name)
        if attr=='patch':
            return _Executable(self._gh, 'PATCH', self._name)
        if attr=='delete':
            return _Executable(self._gh, 'DELETE', self._name)
        name = (self._name, attr) % '%s/%s'
        return _Callable(self._gh, name)
dataset/ETHPy150Open michaelliao/githubpy/github.py/_Callable.__getattr__/swapped operands of `%`