code: def patch(patch_inspect=True):
      
      PATCHED['collections.abc.Generator'] = _collections_abc.Generator = Generator
      PATCHED['collections.abc.Coroutine'] = _collections_abc.Coroutine = Coroutine
      PATCHED['collections.abc.Awaitable'] = _collections_abc.Awaitable = Awaitable
  
      if patch_inspect:
          import inspect
          PATCHED['inspect.isawaitable'] = inspect.isawaitable = isawaitable
docs: Main entry point for patching the ``collections.abc`` and ``inspect``
      standard library modules.