146 incc = 0
147 i = 0
148 for i, c in enumerate(method):
149 if "," == c:150 incc = incc + 1
151 if incc == 4:
152 description = method[i + 1:len(method)]
The constant is placed on the left side of a comparison. It is usually clearer in intent to place it in the right hand side of the comparison.
if 0 == x % 2:
...
if x % 2 == 0:
...