PyFrag
|
Public Member Functions | |
def | __init__ (self, value) |
def | __bool__ (self) |
def | __format__ (self, spec) |
def | __str__ (self) |
Public Attributes | |
value | |
Wrapper to allow formatted printing of variables that may contain either a value or None Example: print("{:10.2f}".format(Maybe(None))