(self, v)
Regular text formatting
Regular text formatting
Regular text formatting
def _fmt_text_col(self, v):
        "Regular text formatting"
        if v is None:
            return self.nullvalue
        elif isinstance(v, self._basestring):
            return v
        elif isinstance(v, self._binary_type):
            # sqlite gives back raw bytes!
            return "<Binary data>"
        else:
            return "%s" % (v, )
def _fmt_text_col ( self , v ) : if v is None : return self . nullvalue elif isinstance ( v , self . _basestring ) : return v elif isinstance ( v , self . _binary_type ) : # sqlite gives back raw bytes! return "<Binary data>" else : return "%s" % ( v , )