MCPcopy Index your code
hub / github.com/python/cpython / wrapper

Function wrapper

Lib/test/test_py_compile.py:19–22  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

17 """Runs function with SOURCE_DATE_EPOCH unset."""
18 @functools.wraps(fxn)
19 def wrapper(*args, **kwargs):
20 with os_helper.EnvironmentVarGuard() as env:
21 env.unset('SOURCE_DATE_EPOCH')
22 return fxn(*args, **kwargs)
23 return wrapper
24
25

Callers

nothing calls this directly

Calls 1

unsetMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…