def anchor_end(self):
        if self.anchor:
            self.handle_data("[%d]" % len(self.anchorlist))
            self.anchor = None

    # --- Hook for images; should probably be overridden
This method is called at the end of an anchor region.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/htmllib.py/HTMLParser.anchor_end