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

Method encoding

pyquery/pyquery.py:397–402  ·  view source on GitHub ↗

return the xml encoding of the root element

(self)

Source from the content-addressed store, hash-verified

395
396 @property
397 def encoding(self):
398 """return the xml encoding of the root element
399 """
400 root = self.root
401 if root is not None:
402 return self.root.docinfo.encoding
403
404 ##############
405 # Traversing #

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected