MCPcopy Create free account
hub / github.com/kurtmckee/feedparser / __init__

Method __init__

feedparser/html.py:89–94  ·  view source on GitHub ↗
(self, encoding=None, _type='application/xhtml+xml')

Source from the content-addressed store, hash-verified

87 }
88
89 def __init__(self, encoding=None, _type='application/xhtml+xml'):
90 if encoding:
91 self.encoding = encoding
92 self._type = _type
93 self.pieces = []
94 super(_BaseHTMLProcessor, self).__init__()
95
96 def reset(self):
97 self.pieces = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected