code: def _printer(self, *out, **kws):
          
          flush = kws.pop('flush', True)
          fileh = kws.pop('file', self.writer)
          sep = kws.pop('sep', ' ')
          end = kws.pop('sep', '\n')
  
          print(*out, file=fileh, sep=sep, end=end)
          if flush:
              fileh.flush()
docs: Generic print function.