class_docstr: Used to decorate file-like objects with a handy 'writeln' method
class_docstr_tok: ["Used","to","decorate","file-like","objects","with","a","handy","'writeln","'","method"]
code: def __getattr__(self, attr):
      if attr in ("stream", "__getstate__"):
          raise AttributeError(attr)
      return getattr(self.stream, attr)
  
imports: import sys
  import time
  import warnings
  from .None import result
  from .case import _SubTest
  from .signals import registerResult
label_desc: Use image node_id 2 for calling the _WritelnDecorator obj's underlying member method code with example usage: obj.__getattr__(attr) and returns: getattr