MCPcopy Index your code
hub / github.com/python-openxml/python-docx / cls_method_fn

Function cls_method_fn

src/docx/opc/shared.py:29–31  ·  view source on GitHub ↗

Return method of `cls` having `method_name`.

(cls: type, method_name: str)

Source from the content-addressed store, hash-verified

27
28
29def cls_method_fn(cls: type, method_name: str):
30 """Return method of `cls` having `method_name`."""
31 return getattr(cls, method_name)

Callers 1

__new__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…