MCPcopy Create free account
hub / github.com/scanny/python-pptx / _prop_name

Method _prop_name

src/pptx/oxml/xmlchemy.py:455–463  ·  view source on GitHub ↗

Calculate property name from tag name, e.g. a:schemeClr -> schemeClr.

(self)

Source from the content-addressed store, hash-verified

453
454 @property
455 def _prop_name(self):
456 """
457 Calculate property name from tag name, e.g. a:schemeClr -> schemeClr.
458 """
459 if ":" in self._nsptagname:
460 start = self._nsptagname.index(":") + 1
461 else:
462 start = 0
463 return self._nsptagname[start:]
464
465 @lazyproperty
466 def _get_or_change_to_method_name(self):

Callers

nothing calls this directly

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected