Function fetch_stream_start

Synopsis

def fetch_stream_start(self)

Description

No description yet.

Source

Lines 359-370 in lib3/yaml/scanner.py.

def fetch_stream_start(self):
    # We always add STREAM-START as the first token and STREAM-END as the
    # last token.
    # Read the token.
    mark = self.get_mark()

    # Add STREAM-START.
    self.tokens.append(StreamStartToken(mark, mark,
        encoding=self.encoding))






Add Discussion as Guest

Log in