def visit_abbreviation(self, node: Element) -> None:
    abbr = node.astext()
    self.body.append('@abbr{')
    if (node.hasattr('explanation') and (abbr not in self.handled_abbrs)):
        self.context.append((',%s}' % self.escape_arg(node['explanation'])))
        self.handled_abbrs.add(abbr)
    else:
        self.context.append('}')
def visit_abbreviation(self, node: Element) -> None:
    abbr = node.astext()
    self.body.append('@abbr{')
    if (node.hasattr('explanation') and (abbr not in self.handled_abbrs)):
        self.context.append((',%s}' % self.escape_arg(node['explanation'])))
        self.handled_abbrs.add(abbr)
    else:
        self.context.append('}')