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

Method add_post_condition

pyquery/cssselectpatch.py:19–24  ·  view source on GitHub ↗
(self, post_condition)

Source from the content-addressed store, hash-verified

17 self.post_condition = None
18
19 def add_post_condition(self, post_condition):
20 if self.post_condition:
21 self.post_condition = '%s and (%s)' % (self.post_condition,
22 post_condition)
23 else:
24 self.post_condition = post_condition
25
26 def __str__(self):
27 path = XPathExprOrig.__str__(self)

Callers 9

xpath_first_pseudoMethod · 0.80
xpath_last_pseudoMethod · 0.80
xpath_even_pseudoMethod · 0.80
xpath_odd_pseudoMethod · 0.80
xpath_eq_functionMethod · 0.80
xpath_gt_functionMethod · 0.80
xpath_lt_functionMethod · 0.80
xpath_has_functionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected