MCPcopy Create free account
hub / github.com/ActiveState/code / pdata

Method pdata

recipes/Python/286269_HTML_Scraper/recipe-286269.py:146–149  ·  view source on GitHub ↗

Called when we encounter a new tag. All the unprocessed data since the last tag is passed to this method. Dummy method to override. Just returns the data unchanged.

(self, inchunk)

Source from the content-addressed store, hash-verified

144 # They are intended to be overridden in subclasses.
145
146 def pdata(self, inchunk):
147 """Called when we encounter a new tag. All the unprocessed data since the last tag is passed to this method.
148 Dummy method to override. Just returns the data unchanged."""
149 return inchunk
150
151 def pdecl(self):
152 """Called when we encounter the *start* of a declaration or comment. <!....

Callers 1

feedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected