html2txt contains the following code:
class Storage: pass
options = Storage()
options.google_doc = False
options.ul_item_mark = '*'
I've not seen such an approach before. What's the benefit/use of this approach over setting up the attributes in __init__()
, and is a class even necessary here?