tip
This is a reading note when I studying C++ basic grammar
some from book: 《C Primer》
# test drafs
dsasdjndklka
import functools
def logme(f):
@functools.wraps(f)
def wrapped(*args, **kwargs):
return f.__name__
return f(*args, **kwargs)
return wrapped
def f(foo):
return foo.__name__
def foo(a, b, c):
a = f(foo)
return a