6 lines
106 B
Python
6 lines
106 B
Python
|
def do_twice(func):
|
||
|
def wrapper_do_twice():
|
||
|
func()
|
||
|
func()
|
||
|
return wrapper_do_twice
|