def __init__(self, text, pos, errors,
                 max_line_len=None, keep_comments=False,
                 strict_quoting = False):
        self.lines = collections.deque(text.splitlines(True))
        self.pos = pos
        self.buf = ''
        self.offset = 0
        """Position on line.  Used to remove leading whitespace from strings."""

        self.max_line_len = max_line_len
        if self.max_line_len == 0:
            self.max_line_len = None
        self.keep_comments = keep_comments
        self.errors = errors
        self.is_1_1 = False
        self.strict_quoting = strict_quoting
def __init__ ( self , text , pos , errors , max_line_len = None , keep_comments = False , strict_quoting = False ) : self . lines = collections . deque ( text . splitlines ( True ) ) self . pos = pos self . buf = '' self . offset = 0 self . max_line_len = max_line_len if self . max_line_len == 0 : self . max_line_len = None self . keep_comments = keep_comments self . errors = errors self . is_1_1 = False self . strict_quoting = strict_quoting
Position on line.  Used to remove leading whitespace from strings.