code: def write(self, line, indent=None):
      if indent == "dec" or indent == "decinc":
          self._indent -= 1
      self._lines.append("  " * self._indent + line)
      if indent == "inc" or indent == "decinc":
          self._indent += 1
  
imports: import functools
  import six
  from chainer.backends import cuda
label_desc: Use image node_id 2 for calling the Writer obj's underlying member method code with example usage: obj.write(line, indent) without return types