MCPcopy Index your code
hub / github.com/clips/pattern / strattrs

Method strattrs

pattern/web/feed/feedparser.py:842–843  ·  view source on GitHub ↗
(self, attrs)

Source from the content-addressed store, hash-verified

840 return data
841
842 def strattrs(self, attrs):
843 return ''.join([' %s="%s"' % (t[0],_xmlescape(t[1],{'"':'"'})) for t in attrs])
844
845 def push(self, element, expectingText):
846 self.elementstack.append([element, expectingText, []])

Callers 1

unknown_starttagMethod · 0.95

Calls 1

_xmlescapeFunction · 0.85

Tested by

no test coverage detected