code: def _update_globals():
      
  
      if not sys.platform.startswith('java') and sys.platform != 'cli':
          return
      incompatible = 'extract_constant', 'get_module_constant'
      for name in incompatible:
          del globals()[name]
          __all__.remove(name)
docs: Patch the globals to remove the objects not available on some platforms.
  
      XXX it'd be better to test assertions about bytecode instead.