Richard Brodie <[EMAIL PROTECTED]> wrote:
>  "Terry Reedy" <[EMAIL PROTECTED]> wrote in message
>  news:[EMAIL PROTECTED]
> 
> > You could propose to the author of Pychecker that he include, if possible,
> > an option to check for and warn about '++', '--'.
> 
>  It does already.
> 
> 

$ cat plusplus.py

def main():
    i = 1
    return ++i

$ pychecker plusplus
Processing plusplus...

Warnings...

plusplus.py:4: Operator (++) doesn't exist, statement has no effect

-- 
Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to