def add_anchor_strs(self, name, anchor_strs): if name in self.pages: p = self.pages[name] for s in anchor_strs: s = sigchars(s) if s: p.anchor_strs.append(s) return
def add_anchor_strs(self, anchor_strs): for s in anchor_strs: s = sigchars(s) if s: self.anchor_strs.append(s) return