def write_variable(self, out, var_doc, name=None, prefix='', verbose=True):
        if name is None: name = var_doc.name
        out(prefix+self.bold(str(name)))
        if (var_doc.value not in (UNKNOWN, None) and
            var_doc.is_alias is True and
            var_doc.value.canonical_name not in (None, UNKNOWN)):
            out(' = %s' % var_doc.value.canonical_name)
        elif var_doc.value not in (UNKNOWN, None):
            val_repr = var_doc.value.summary_pyval_repr(
                max_len=self._cols-len(name)-len(prefix)-3)
            out(' = %s' % val_repr.to_plaintext(None))
        out('\n')
        if not verbose: return
        prefix += '    ' # indent the body.
        if var_doc.descr not in (None, '', UNKNOWN):
            out(self._descr(var_doc.descr, prefix))
dataset/ETHPy150Open CollabQ/CollabQ/vendor/epydoc/docwriter/plaintext.py/PlaintextWriter.write_variable/original