code: def timeout(self, timeout=None):
          
          if timeout is None:
              return self.__timeout
          if 0 < float(timeout) < 3600:
              self.__timeout = float(timeout)
              return self.__timeout
          else:
              return None
docs: Get or set timeout field
  
          :param timeout: socket timeout in seconds or None for get value
          :type timeout: float or None
          :returns: timeout or None if set fail
          :rtype: float or None