def METHOD_NAME(self, docnames: Iterable[str], otherdata: dict[str, Any]) -> None:
    for labelid, (doc, eqno) in otherdata['objects'].items():
        if doc in docnames:
            self.equations[labelid] = (doc, eqno)
    for docname in docnames:
        self.data['has_equations'][docname] = otherdata['has_equations'][docname]