code: def _makedirs_31(path, exist_ok=False):
      try:
          os.makedirs(path)
      except OSError as exc:
          if not exist_ok or exc.errno != errno.EEXIST:
              raise
  
imports: import os
  import errno
  import sys
  from .extern import six
label_desc: Use image node_id 1 for calling a global function with example usage: _makedirs_31(path, exist_ok) without return types