mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Initial commit
Transfer Didier to this repo
This commit is contained in:
commit
f1138c3b56
116 changed files with 353825 additions and 0 deletions
0
decorators/__init__.py
Normal file
0
decorators/__init__.py
Normal file
7
decorators/help.py
Normal file
7
decorators/help.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Decorator that assigns a help category to a function
|
||||
def Category(category, unpack=False):
|
||||
def decorator(func):
|
||||
setattr(func, "category", category)
|
||||
setattr(func, "unpack", unpack)
|
||||
return func
|
||||
return decorator
|
||||
Loading…
Add table
Add a link
Reference in a new issue