MCPcopy Create free account
hub / github.com/kurtmckee/feedparser / convert_charref

Method convert_charref

feedparser/html.py:319–325  ·  view source on GitHub ↗

:type name: str :rtype: str

(name)

Source from the content-addressed store, hash-verified

317
318 @staticmethod
319 def convert_charref(name):
320 """
321 :type name: str
322 :rtype: str
323 """
324
325 return '&#%s;' % name
326
327 @staticmethod
328 def convert_entityref(name):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected