def _update_globals():
if not sys.platform.startswith('<STR_LIT>') and sys.platform != '<STR_LIT>':<EOL><INDENT>return<EOL><DEDENT>incompatible = '<STR_LIT>', '<STR_LIT>'<EOL>for name in incompatible:<EOL><INDENT>del globals()[name]<EOL>__all__.remove(name)<EOL><DEDENT>
Patch the globals to remove the objects not available on some platforms.

XXX it'd be better to test assertions about bytecode instead.