MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / first_child

Method first_child

src/__init__.py:2387–2393  ·  view source on GitHub ↗
( self)

Source from the content-addressed store, hash-verified

2385
2386 @property
2387 def first_child( self):
2388 if mupdf.fz_xml_text( self.this):
2389 # text node, has no child.
2390 return
2391 ret = mupdf.fz_dom_first_child( self)
2392 if ret.m_internal:
2393 return Xml( ret)
2394
2395 def get_attribute_value( self, key):
2396 assert key

Callers

nothing calls this directly

Calls 1

XmlClass · 0.85

Tested by

no test coverage detected