code: def normalizeArea(value):
      
      if not isinstance(value, (int, float)):
          raise TypeError("Area must be an instance of :ref:`type-int-float`, "
                          "not %s." % type(value).__name__)
      if value < 0:
          raise ValueError("Area must be a positive :ref:`type-int-float`, "
                           "not %s." % repr(value))
      return float(value)
docs: Normalizes area.
  
      * **value** must be a positive :ref:`type-int-float`.