def visit_footnote_reference(self, node: Element) -> None:
    num = node.astext().strip()
    try:
        (footnode, used) = self.footnotestack[(- 1)][num]
    except (KeyError, IndexError) as exc:
        raise nodes.SkipNode from exc
    footnode.walkabout(self)
    raise nodes.SkipChildren
def visit_footnote_reference(self, node: Element) -> None:
    num = node.astext().strip()
    try:
        (footnode, used) = self.footnotestack[(- 1)][num]
    except (KeyError, IndexError) as exc:
        raise nodes.SkipNode from exc
    footnode.walkabout(self)
    raise nodes.SkipChildren