MCPcopy Index your code
hub / github.com/python/cpython / feed

Method feed

Lib/email/feedparser.py:535–536  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

533 """Like FeedParser, but feed accepts bytes."""
534
535 def feed(self, data):
536 super().feed(data.decode('ascii', 'surrogateescape'))

Callers 1

test_bytes_feedparserMethod · 0.95

Calls 3

superClass · 0.85
feedMethod · 0.45
decodeMethod · 0.45

Tested by 1

test_bytes_feedparserMethod · 0.76