def add(self, *args, **kwargs):

        try:
            return self[0].new(*args, **kwargs)
        except __HOLE__:
            o = self._obj()
            o._h = self._h

            return o.new(*args, **kwargs)
dataset/ETHPy150Open kennethreitz-archive/python-github3/github3/structures.py/KeyedListResource.add