code: def populate_wrapper(klass, wrapping):
      for meth, how in klass._wrap_methods.items():
          if not hasattr(wrapping, meth):
              continue
  
          func = getattr(wrapping, meth)
          wrapper = make_wrapper(func, how)
          setattr(klass, meth, wrapper)
  
file_path: statsmodels/statsmodels/base/wrapper.py
imports: import functools
  import inspect
  from textwrap import dedent
label_desc: Use image node_id 3 for calling a global function with example usage: populate_wrapper(klass, wrapping) without return types