(self, line)
return ws
Parse the whitespace (blockquote syntax is counted as well).
Parse the whitespace (blockquote syntax is counted as well).
Parse the whitespace ( blockquote syntax is counted as well ) .
def parse_whitespace(self, line):
        """Parse the whitespace (blockquote syntax is counted as well)."""

        self.ws_len = 0
        self.ws_virtual_len = 0
        ws = []
        for c in line:
            if c not in PREFIX_CHARS:
                break
            self.ws_len += 1
            ws.append(c)

        ws = self.normalize_ws(''.join(ws))
        self.ws_virtual_len = len(ws)

        return ws
def parse_whitespace ( self , line ) : self . ws_len = 0 self . ws_virtual_len = 0 ws = [ ] for c in line : if c not in PREFIX_CHARS : break self . ws_len += 1 ws . append ( c ) ws = self . normalize_ws ( '' . join ( ws ) ) self . ws_virtual_len = len ( ws ) return ws