![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: "no variable or argument declarations are necessary."
From: marduk <usenet@marduk.letterboxes.org>
Date: Tue Oct 04 2005 - 03:01:03 CEST
> egold = 0:
Both pylint and pychecker pick this up. I wrapped the code in a
plyint: W: 5:myfunc: Unused variable 'ego1d'
I make a habit to run pylint or pychecker on my code often. They pick
But you can also do this:
/* initialize variables i'm gonna use */
So we can make a similar mistake in C if you type the wrong (declared)
|