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

Method _css_to_xpath

pyquery/pyquery.py:254–256  ·  view source on GitHub ↗
(self, selector, prefix='descendant-or-self::')

Source from the content-addressed store, hash-verified

252 list.__init__(self, elements)
253
254 def _css_to_xpath(self, selector, prefix='descendant-or-self::'):
255 selector = selector.replace('[@', '[')
256 return self._translator.css_to_xpath(selector, prefix)
257
258 def _copy(self, *args, **kwargs):
259 kwargs.setdefault('namespaces', self.namespaces)

Callers 3

__init__Method · 0.95
_filter_onlyMethod · 0.95
findMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected