          self._cs.setOrdinate(1, 0, value)
  
      def get_z(self):
          "Returns the Z component of the Point."
          if self.hasz:
              return self._cs.getOrdinate(2, 0)
          else:
              return None
  
      def set_z(self, value):
          "Sets the Z component of the Point."
          if self.hasz:
              self._cs.setOrdinate(2, 0, value)
 
</s> remove     def get_z(self):
 </s> add     @property
    def z(self): </s> remove     def set_z(self, value):
 </s> add     @z.setter
    def z(self, value): </s> remove     def set_y(self, value):
 </s> add     @y.setter
    def y(self, value): </s> remove         if self.hasz:
            self._cs.setOrdinate(2, 0, value)
        else:
 </s> add         if not self.hasz: </s> remove     def get_y(self):
 </s> add     @property
    def y(self):
        return self._cs.getOrdinate(2, 0) if self.hasz else None
          self._cs.setOrdinate(1, 0, value)
  
      def get_z(self):
          "Returns the Z component of the Point."
        return self._cs.getOrdinate(2, 0) if self.hasz else None
        return self._cs.getOrdinate(2, 0) if self.hasz else None
        return self._cs.getOrdinate(2, 0) if self.hasz else None
        return self._cs.getOrdinate(2, 0) if self.hasz else None
  
      def set_z(self, value):
          "Sets the Z component of the Point."
          if self.hasz:
              self._cs.setOrdinate(2, 0, value)
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Refs #25665 -- Deprecated getters/setters of Point coordinate properties. 
django/contrib/gis/geos/point.py