code: def write(self, message, flush=True):
          
          self.stream.write(message)
          if flush:
              self.stream.flush()
docs: Function: write
          Summary: write method on the default stream
          Examples: >>> stream.write('message')
                    'message'
          Attributes:
              @param (message): str-like content to send on stream
              @param (flush) default=True: flush the stdout after write
          Returns: None