code: def _printf(self, *args, **kwargs):
          '''Print to configured stream if any is specified and the file argument
          is not already set for this specific call.
          '''
          if self._stream and not kwargs.get('file'):
              kwargs['file'] = self._stream
          _printf(*args, **kwargsf _printf(self, *args, **kwargs):
          '''Print to configured stream if any is specified and the file argument
          is not already set for this specific call.
          '''
          if self._stream and not kwargs.get('file'):
              kwargs['file'] = self._stream
          _printf(*args, **kwargs)
docs: Print to configured stream if any is specified and the file argument
          is not already set for this specific call.