@property
    def top(self):
        """The topmost item on the stack.  If the stack is empty,
        `None` is returned.
        """
        try:
            return self._stack.get(get_ident(), [])[-1]
        except (__HOLE__, IndexError):
            return None
dataset/ETHPy150Open zeaphoo/cocopot/cocopot/local.py/LocalStack.top