code: def _filter_header(s):
      """Clean up 'L' in npz header ints.
  
      Cleans up the 'L' in strings representing integers. Needed to allow npz
      headers produced in Python2 to be read in Python3.
  
      Parameters
      ----------
      s : byte string
          Npy file header.
  
      Returns
      -------
      header : str
          Cleaned up header.
  
      """
      import tokenize
  
      if sys.version_info[0] >= 3:
          from io import StringIO
      else:
          from StringIO import StringIO
  
      tokens = []
      last_token_was_number = False
      # adding newline as python 2.7.5 workaround
      string = asstr(s) + "\n"
      for token in tokenize.generate_tokens(StringIO(string).readline):
          token_type = token[0]
          token_string = token[1]
          if (
              last_token_was_number
              and token_type == tokenize.NAME
              and token_string == "L"
          ):
              continue
          else:
              tokens.append(token)
          last_token_was_number = token_type == tokenize.NUMBER
      # removing newline (see above) as python 2.7.5 workaround
      return tokenize.untokenize(tokens)[:-1]
  
imports: from __future__ import division, absolute_import, print_function
  import numpy
  import sys
  import io
  import warnings
  from numpy.lib.utils import safe_eval
  from numpy.compat import asbytes, asstr, isfileobj, long, os_fspath
  from numpy.core.numeric import pickle
label_desc: Use image node_id 12 for calling a global function with example usage: _filter_header(s) and returns: tokenize