Issue warning if no "return" in function?
Wojtek Walczak
gminick at bzt.bzt
Thu Sep 4 06:16:41 EDT 2008
On Thu, 04 Sep 2008 12:05:45 +0200, Poster28 wrote:
> What would you suggest to check python programs for non-syntax error.
> One example I could think of that one might forget to "return" a value from
> a function.
>
> How could I check for these and maybe other mistakes?
Check pychecker or figleaf:
http://pychecker.sourceforge.net
http://darcs.idyll.org/~t/projects/figleaf/doc/
--
Regards,
Wojtek Walczak,
http://tosh.pl/gminick/
More information about the Python-list
mailing list