Declaring variables

Gregor Horvath gh at gregor-horvath.com
Thu May 17 09:20:57 EDT 2007


HMS Surprise schrieb:

> 
> #~~~~~~~~~~~~~~~~~~~~~~
> createdIncidentId = 0
> .
> .
> .
> #attempt to change varialbe
> createdIncidentID = 1
> .
> .
> .
> if createdIncidentId == 1:
>    ...
> 

test.py is your code above

$ pychecker -v test.py
Processing test...

Warnings...

test.py:7: Variable (createdIncidentID) not used


Gregor



More information about the Python-list mailing list