mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
15 lines
212 B
Python
15 lines
212 B
Python
def foo(baz=None):
|
|
def _foo(func):
|
|
def wrapper(*args, **kwargs):
|
|
func(*args, **kwargs)
|
|
|
|
wrapper.baz = baz
|
|
return wrapper
|
|
|
|
return _foo
|
|
|
|
|
|
@foo
|
|
# <ref>
|
|
def foo():
|
|
pass |