MCPcopy Index your code
hub / github.com/nodejs/node / __new__

Method __new__

tools/inspector_protocol/markupsafe/__init__.py:68–73  ·  view source on GitHub ↗
(cls, base=u'', encoding=None, errors='strict')

Source from the content-addressed store, hash-verified

66 __slots__ = ()
67
68 def __new__(cls, base=u'', encoding=None, errors='strict'):
69 if hasattr(base, '__html__'):
70 base = base.__html__()
71 if encoding is None:
72 return text_type.__new__(cls, base)
73 return text_type.__new__(cls, base, encoding, errors)
74
75 def __html__(self):
76 return self

Callers

nothing calls this directly

Calls 1

__html__Method · 0.45

Tested by

no test coverage detected