9 lines
232 B
Python
9 lines
232 B
Python
try:
|
|
from functools import wraps
|
|
except ImportError: # pragma: no cover
|
|
# MicroPython does not currently implement functools.wraps
|
|
def wraps(wrapped):
|
|
def _(wrapper):
|
|
return wrapper
|
|
return _
|