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