parameters: ()
docstring: Patch the globals to remove the objects not available on some platforms.
  
      XXX it'd be better to test assertions about bytecode instead.
docstring_summary: Patch the globals to remove the objects not available on some platforms.
docstring_tokens: Patch the globals to remove the objects not available on some platforms .
function: def _update_globals():
      """
      Patch the globals to remove the objects not available on some platforms.
  
      XXX it'd be better to test assertions about bytecode instead.
      """
  
      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)
function_tokens: 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 )