code: def removeGuideline(self, guideline):
          
          if isinstance(guideline, int):
              index = guideline
          else:
              index = self._getGuidelineIndex(guideline)
          index = normalizers.normalizeIndex(index)
          if index >= self._len__guidelines():
              raise ValueError("No guideline located at index %d." % index)
          self._removeGuideline(index)
docs: Remove ``guideline`` from the glyph.
  
              >>> glyph.removeGuideline(guideline)
  
          ``guideline`` may be a :ref:`BaseGuideline` or an
          :ref:`type-int` representing an guideline index.