Ejemplo n.º 1
0
 def value_phrase(self):
     """Value with unit"""
     #return value_element(self.unit)
     return value_element_plain()
Ejemplo n.º 2
0
 def value_with_optional_unit(self):
     """Value possibly followed by a unit"""
     value = value_element_plain()
     #return Group(value + Optional(self.unit))
     return value