summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-04 03:51:09 (GMT)
committerGuido van Rossum <guido@python.org>2001-09-04 03:51:09 (GMT)
commit1832de4bc07e7ffd5938b41e8d7d8fcf8b5e12e2 (patch)
tree2d41b60cbaa6176a1b889a7d15d1f11449c1ddaa /Tools
parent61c345fa37573005b708d239c0911218ca22383c (diff)
downloadcpython-1832de4bc07e7ffd5938b41e8d7d8fcf8b5e12e2.zip
cpython-1832de4bc07e7ffd5938b41e8d7d8fcf8b5e12e2.tar.gz
cpython-1832de4bc07e7ffd5938b41e8d7d8fcf8b5e12e2.tar.bz2
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.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/fixdiv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/fixdiv.py b/Tools/scripts/fixdiv.py
index 175d77b..c6396d8 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: