MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / wrapper

Function wrapper

python/dolfinx/common.py:185–187  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

183 def decorator(func):
184 @functools.wraps(func)
185 def wrapper(*args, **kwargs):
186 with Timer(task):
187 return func(*args, **kwargs)
188
189 return wrapper
190

Callers

nothing calls this directly

Calls 2

funcFunction · 0.85
TimerClass · 0.70

Tested by

no test coverage detected