MCPcopy
hub / github.com/django/django / __init__

Method __init__

django/utils/feedgenerator.py:289–292  ·  view source on GitHub ↗

All args are expected to be strings

(self, url, length, mime_type)

Source from the content-addressed store, hash-verified

287 """An RSS enclosure"""
288
289 def __init__(self, url, length, mime_type):
290 "All args are expected to be strings"
291 self.length, self.mime_type = length, mime_type
292 self.url = iri_to_uri(url)
293
294
295class RssFeed(SyndicationFeed):

Callers

nothing calls this directly

Calls 1

iri_to_uriFunction · 0.90

Tested by

no test coverage detected