          "Sets the Z component of the Point."
          if not self.hasz:
              raise GEOSException('Cannot set Z on 2D Point.')
  
      def get_x(self):
          warnings.warn(
              "`get_x()` is deprecated, use the `x` property instead.",
              RemovedInDjango20Warning, 2
 
</s> remove     # X, Y, Z properties
    x = property(get_x, set_x)
    y = property(get_y, set_y)
    z = property(get_z, set_z)
 </s> add     def get_x(self):
        warnings.warn(
            "`get_x()` is deprecated, use the `x` property instead.",
            RemovedInDjango20Warning, 2
        )
        return self.x

    def set_x(self, value):
        warnings.warn(
            "`set_x()` is deprecated, use the `x` property instead.",
            RemovedInDjango20Warning, 2
        )
        self.x = value

    def get_y(self):
        warnings.warn(
            "`get_y()` is deprecated, use the `y` property instead.",
            RemovedInDjango20Warning, 2
        )
        return self.y

    def set_y(self, value):
        warnings.warn(
            "`set_y()` is deprecated, use the `y` property instead.",
            RemovedInDjango20Warning, 2
        )
        self.y = value

    def get_z(self):
        warnings.warn(
            "`get_z()` is deprecated, use the `z` property instead.",
            RemovedInDjango20Warning, 2
        )
        return self.z

    def set_z(self, value):
        warnings.warn(
            "`set_z()` is deprecated, use the `z` property instead.",
            RemovedInDjango20Warning, 2
        )
        self.z = value </s> remove         if self.hasz:
            self._cs.setOrdinate(2, 0, value)
        else:
 </s> add         if not self.hasz: </s> remove     def set_z(self, value):
 </s> add     @z.setter
    def z(self, value): </s> remove     def set_x(self, value):
 </s> add     @x.setter
    def x(self, value): </s> remove     def get_x(self):
 </s> add     @property
    def x(self):
        self._cs.setOrdinate(2, 0, value)
          "Sets the Z component of the Point."
          if not self.hasz:
              raise GEOSException('Cannot set Z on 2D Point.')
        self._cs.setOrdinate(2, 0, value)
  
      def get_x(self):
          warnings.warn(
              "`get_x()` is deprecated, use the `x` property instead.",
              RemovedInDjango20Warning, 2
keep keep add keep keep keep keep keep
 Refs #25665 -- Deprecated getters/setters of Point coordinate properties. 
django/contrib/gis/geos/point.py