              coords = []
          elif isinstance(x, (tuple, list)):
              # Here a tuple or list was passed in under the `x` parameter.
              coords = x
          elif isinstance(x, six.integer_types + (float,)) and isinstance(y, six.integer_types + (float,)):
              # Here X, Y, and (optionally) Z were passed in individually, as parameters.
              if isinstance(z, six.integer_types + (float,)):
                  coords = [x, y, z]
              else:
                  coords = [x, y]
 
</s> remove             if isinstance(z, six.integer_types + (float,)):
 </s> add             if isinstance(z, (float, int)): </s> remove         elif isinstance(srs, six.integer_types + six.string_types):
 </s> add         elif isinstance(srs, (int, str)): </s> remove         elif isinstance(value, six.integer_types + six.string_types):
 </s> add         elif isinstance(value, (int, str)): </s> remove         elif isinstance(coord_trans, six.integer_types + six.string_types):
 </s> add         elif isinstance(coord_trans, (int, str)): </s> remove             if not isinstance(z, six.integer_types + (float,)):
 </s> add             if not isinstance(z, (float, int)):
        elif isinstance(x, (float, int)) and isinstance(y, (float, int)):
              coords = []
          elif isinstance(x, (tuple, list)):
              # Here a tuple or list was passed in under the `x` parameter.
              coords = x
        elif isinstance(x, (float, int)) and isinstance(y, (float, int)):
              # Here X, Y, and (optionally) Z were passed in individually, as parameters.
              if isinstance(z, six.integer_types + (float,)):
                  coords = [x, y, z]
              else:
                  coords = [x, y]
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
django/contrib/gis/geos/point.py