mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
14 lines
211 B
Python
14 lines
211 B
Python
def foo(baz=None):
|
|
def _foo(func):
|
|
def wrapper(*args, **kwargs):
|
|
func(*args, **kwargs)
|
|
|
|
wrapper.baz = baz
|
|
return wrapper
|
|
|
|
return _foo
|
|
|
|
|
|
@foo
|
|
def fo<caret>o():
|
|
pass |