MCPcopy Create free account
hub / github.com/nodejs/node / __new__

Method __new__

tools/inspector_protocol/jinja2/ext.py:37–40  ·  view source on GitHub ↗
(cls, name, bases, d)

Source from the content-addressed store, hash-verified

35 """Gives the extension an unique identifier."""
36
37 def __new__(cls, name, bases, d):
38 rv = type.__new__(cls, name, bases, d)
39 rv.identifier = rv.__module__ + '.' + rv.__name__
40 return rv
41
42
43class Extension(with_metaclass(ExtensionRegistry, object)):

Callers 1

bindMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected