From 1832de4bc07e7ffd5938b41e8d7d8fcf8b5e12e2 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 4 Sep 2001 03:51:09 +0000 Subject: PEP 238 documented -Qwarn as warning only for classic int or long division, and this makes sense. Add -Qwarnall to warn for all classic divisions, as required by the fixdiv.py tool. --- Tools/scripts/fixdiv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools/scripts/fixdiv.py') diff --git a/Tools/scripts/fixdiv.py b/Tools/scripts/fixdiv.py index 175d77bd68..c6396d88a1 100755 --- a/Tools/scripts/fixdiv.py +++ b/Tools/scripts/fixdiv.py @@ -2,7 +2,7 @@ """fixdiv - tool to fix division operators. -To use this tool, first run `python -Qwarn yourscript.py 2>warnings'. +To use this tool, first run `python -Qwarnall yourscript.py 2>warnings'. This runs the script `yourscript.py' while writing warning messages about all uses of the classic division operator to the file `warnings'. The warnings look like this: -- cgit v1.2.1