kopia lustrzana https://github.com/micropython/micropython-lib
functools: Fix dummy wraps() decorator.
rodzic
3c1ae63821
commit
d69ddf2817
|
@ -13,4 +13,4 @@ def update_wrapper(wrapper, wrapped):
|
|||
|
||||
def wraps(wrapped):
|
||||
# Dummy impl
|
||||
return wrapped
|
||||
return lambda x: x
|
||||
|
|
Ładowanie…
Reference in New Issue