code: def normalizeGlyphTopMargin(value):
      
      if not isinstance(value, (int, float)) and value is not None:
          raise TypeError("Glyph top margin must be an :ref:`type-int-float`, "
                          "not %s." % type(value).__name__)
      return value
docs: Normalizes glyph top margin.
  
      * **value** must be a :ref:`type-int-float` or `None`.
      * Returned value is the same type as the input value.