code: def tokenize(readline, tokeneater=printtoken):
      """
      The tokenize() function accepts two parameters: one representing the
      input stream, and one providing an output mechanism for tokenize().
  
      The first parameter, readline, must be a callable object which provides
      the same interface as the readline() method of built-in file objects.
      Each call to the function should return one line of input as a string.
  
      The second parameter, tokeneater, must also be a callable object. It is
      called once for each token, with five arguments, corresponding to the
      tuples generated by generate_tokens().
      """
      try:
          tokenize_loop(readline, tokeneater)
      except StopTokenizing:
          pass
  
imports: from __future__ import print_function
  import string, re
  from token import *
  import token
label_desc: Use image node_id 5 for calling a global function with example usage: tokenize(readline, tokeneater) without return types