code: def glob1(dirname, pattern):
      return _glob1(dirname, pattern, None, False)
  
imports: import contextlib
  import os
  import re
  import fnmatch
  import itertools
  import stat
  import sys
label_desc: Use image node_id 7 for calling a global function with example usage: glob1(dirname, pattern) and returns: _glob1