code: def expect_token(expected_item, seen_item, what_parsing):
      if seen_item != expected_item:
          raise RuntimeError(
              "parsing {0}, expected '{1}' but got '{2}'".format(
                  what_parsing, expected_item, seen_item
              )
          )
  
imports: from __future__ import print_function
  from __future__ import division
  import re
  import sys
label_desc: Use image node_id 6 for calling a global function with example usage: expect_token(expected_item, seen_item, what_parsing) without return types