def gMonth(xc, p, source): try: match = lexicalPatterns['gMonth'].match(source) if match: month, zSign, zHrMin, zHr, zMin = match.groups() return ModelValue.gMonth(month) except (ValueError, TypeError): pass raise FORG0001
def gMonth(xc, p, source): try: match = lexicalPatterns['gMonth'].match(source) if match: month, zSign, zHrMin, zHr, zMin = match.groups() return ModelValue.gMonth(month) except (ValueError, TypeError): pass raise FORG0001