
class MailState():
    _reading_data = False

    def set_reading(self, val):
        self._reading_data = val

    def get_reading(self):
        return self._reading_data

class MailState():
    _reading_data = False

    def set_reading(self, val):
        self._reading_data = val

    @property
    def reading(self):
        return self._reading_data

Change getter in to property
Change getter in to property
- 
  class MailState():
      _reading_data = False
  
      def set_reading(self, val):
          self._reading_data = val
  
+     @property
-     def get_reading(self):
+     def reading(self):
          return self._reading_data
  
Change getter in to property
## Code Before:

class MailState():
    _reading_data = False

    def set_reading(self, val):
        self._reading_data = val

    def get_reading(self):
        return self._reading_data

## Instruction:
Change getter in to property
## Code After:
class MailState():
    _reading_data = False

    def set_reading(self, val):
        self._reading_data = val

    @property
    def reading(self):
        return self._reading_data
