Python Dunder
from pprint import pprint
class HtmlDocument:
extension = 'html'
version = '5'
HtmlDocument.media_type = 'text/html'
pprint(HtmlDocument.__dict__)__str__
__eq__
__hash__
__bool__ && __len__
Last updated