MCPcopy Index your code
hub / github.com/datacamp/pythonwhat / rename_function

Function rename_function

pythonwhat/checks/check_wrappers.py:701–703  ·  view source on GitHub ↗
(func, name)

Source from the content-addressed store, hash-verified

699
700
701def rename_function(func, name):
702 # see functools.wraps
703 func.__name__ = func.__qualname__ = name
704
705
706def add_partial_sct(func, name):

Callers 2

add_partial_sctFunction · 0.85
check_wrappers.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected