MCPcopy
hub / github.com/django/django / __str__

Method __str__

django/utils/feedgenerator.py:98–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 return self._mimetype
97
98 def __str__(self):
99 attrs = {
100 "href": iri_to_uri(self._url),
101 "type": self.mimetype,
102 "media": self.media,
103 }
104 return flatatt(attrs).strip()
105
106 def __repr__(self):
107 return repr((self.url, self.mimetype, self.media))

Callers

nothing calls this directly

Calls 2

iri_to_uriFunction · 0.90
flatattFunction · 0.90

Tested by

no test coverage detected