code: def display_warning(self):
          
          if self.warn:
              warnings.warn(
                  "\nProperty '{}' is deprecated and may be removed in the "
                  "future. Please use '{}'.".format(self.name, self.new_name),
                  FutureWarning, stacklevel=3
              )
docs: Display a FutureWarning about using a Renamed Property