Function get_token

Synopsis

def get_token(self)

Description

No description yet.

Mentioned in

Source

Lines 135-142 in lib3/yaml/scanner.py.

def get_token(self):
    # Return the next token.
    while self.need_more_tokens():
        self.fetch_more_tokens()
    if self.tokens:
        self.tokens_taken += 1
        return self.tokens.pop(0)





Add Discussion as Guest

Log in