(self, expr)
Print a value.
Print a value.
Print a value .
def _print_value(self, expr):
        """Print a value."""
        # numbers always followed by a space
        if isinstance(expr, values.Number):
            word = values.to_repr(expr, leading_space=True, type_sign=False) + b' '
        else:
            word = expr.to_str()
        # output file (devices) takes care of width management;
        # we must send a whole string at a time for this to be correct.
        self._output.write(word)
def _print_value ( self , expr ) : # numbers always followed by a space if isinstance ( expr , values . Number ) : word = values . to_repr ( expr , leading_space = True , type_sign = False ) + b' ' else : word = expr . to_str ( ) # output file (devices) takes care of width management; # we must send a whole string at a time for this to be correct. self . _output . write ( word )