code: def use_inf_as_na_cb(key) -> None:
      # TODO(3.0): enforcing this deprecation will close GH#52501
      from pandas.core.dtypes.missing import _use_inf_as_na
  
      _use_inf_as_na(key)
  
file_path: pandas/pandas/core/config_init.py
imports: from __future__ import annotations
  import os
  from typing import Callable
  import pandas._config.config
  from pandas._config.config import is_bool, is_callable, is_instance_factory, is_int, is_nonnegative_int, is_one_of_factory, is_str, is_text
label_desc: Use image node_id 6 for calling a global function with example usage: use_inf_as_na_cb(key) without return types