MCPcopy Create free account
hub / github.com/gawel/pyquery / root

Method root

pyquery/pyquery.py:389–394  ·  view source on GitHub ↗

return the xml root element

(self)

Source from the content-addressed store, hash-verified

387
388 @property
389 def root(self):
390 """return the xml root element
391 """
392 if self._parent is not no_default:
393 return self._parent[0].getroottree()
394 return self[0].getroottree()
395
396 @property
397 def encoding(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected