code: def _get_index(self):
          
          glyph = self.glyph
          if glyph is None:
              return None
          return glyph.anchors.index(self)
docs: Get the anchor's index.
          This must return an ``int``.
  
          Subclasses may override this method.