Cope 2.5.0
My personal "standard library" of all the generally useful code I've written for various projects over the years
|
def Cope.decorators.todo | ( | str | feature = None , |
bool | enabled = True , |
||
bool | blocking = False , |
||
bool | limit = True |
||
) |
Leave reminders for yourself to finish parts of your code.
Can also be used as a decorator (for functions or classes) to print a reminder and optionally throw a NotImplemented error on being called/constructed. Parameters: enabled: enable or disable printed warnings blocking: raise an error, instead of just warning you limit: if called multiple times, and this is true, only print once
Definition at line 18 of file decorators.py.