MCPcopy Index your code
hub / github.com/python/cpython / fromname

Method fromname

Lib/ssl.py:409–412  ·  view source on GitHub ↗

Create _ASN1Object from short name, long name or OID

(cls, name)

Source from the content-addressed store, hash-verified

407
408 @classmethod
409 def fromname(cls, name):
410 """Create _ASN1Object from short name, long name or OID
411 """
412 return super().__new__(cls, *_txt2obj(name, name=True))
413
414
415class Purpose(_ASN1Object, _Enum):

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__new__Method · 0.45

Tested by

no test coverage detected