parameters: (*ignored)
docstring: A context manager that ignores the given errnos.
docstring_summary: A context manager that ignores the given errnos.
docstring_tokens: A context manager that ignores the given errnos .
function: def ignored_errno(*ignored):
      """A context manager that ignores the given errnos."""
      try:
          yield
      except OSError as exc:
          if exc.errno not in ignored:
              raise
function_tokens: def ignored_errno ( * ignored ) : try : yield except OSError as exc : if exc . errno not in ignored : raise