code: def _reset_option(pat: str, silent: bool = False) -> None:
      keys = _select_options(pat)
  
      if len(keys) == 0:
          raise OptionError("No such keys(s)")
  
      if len(keys) > 1 and len(pat) < 4 and pat != "all":
          raise ValueError(
              "You must specify at least 4 characters when "
              "resetting multiple keys, use the special keyword "
              '"all" to reset all the options to their default value'
          )
  
      for k in keys:
          _set_option(k, _registered_options[k].defval, silent=silent)
  
imports: from __future__ import annotations
  from contextlib import ContextDecorator, contextmanager
  import re
  from typing import TYPE_CHECKING, Any, Callable, Generic, NamedTuple, cast
  import warnings
  from pandas._typing import F, T
  from pandas.util._exceptions import find_stack_level
label_desc: Use image node_id 5 for calling a global function with example usage: _reset_option(pat, silent) without return types