Cope 2.5.0
My personal "standard library" of all the generally useful code I've written for various projects over the years
Loading...
Searching...
No Matches
Cope.decorators Namespace Reference

Miscellaneous decorators that can be useful. More...

Classes

class  EpistemologicalWarning
 This is a joke/pet peeve of mine for people who say they're 100% confident in something. More...
 

Functions

def todo (str feature=None, bool enabled=True, bool blocking=False, bool limit=True)
 Leave reminders for yourself to finish parts of your code.
 
def confidence (float level)
 
def depricated (why='')
 
type reprise (type obj, *args, **kwargs)
 A class decorator that sets the repr member to the str member.
 

Variables

set _todoCalls = set()
 
bool hide_todo = False
 
def confident = confidence
 
def untested = confidence(51)
 
def tested = confidence(95)
 

Detailed Description

Miscellaneous decorators that can be useful.