mirror of https://github.com/python/cpython
gh-121101: Document -Wall option (an alias for -Walways) (#121102)
This commit is contained in:
parent
6d34938dc8
commit
0a1e8ff9c1
|
@ -447,6 +447,7 @@ Miscellaneous options
|
||||||
-Wdefault # Warn once per call location
|
-Wdefault # Warn once per call location
|
||||||
-Werror # Convert to exceptions
|
-Werror # Convert to exceptions
|
||||||
-Walways # Warn every time
|
-Walways # Warn every time
|
||||||
|
-Wall # Same as -Walways
|
||||||
-Wmodule # Warn once per calling module
|
-Wmodule # Warn once per calling module
|
||||||
-Wonce # Warn once per Python process
|
-Wonce # Warn once per Python process
|
||||||
-Wignore # Never warn
|
-Wignore # Never warn
|
||||||
|
@ -915,6 +916,7 @@ conflict.
|
||||||
PYTHONWARNINGS=default # Warn once per call location
|
PYTHONWARNINGS=default # Warn once per call location
|
||||||
PYTHONWARNINGS=error # Convert to exceptions
|
PYTHONWARNINGS=error # Convert to exceptions
|
||||||
PYTHONWARNINGS=always # Warn every time
|
PYTHONWARNINGS=always # Warn every time
|
||||||
|
PYTHONWARNINGS=all # Same as PYTHONWARNINGS=always
|
||||||
PYTHONWARNINGS=module # Warn once per calling module
|
PYTHONWARNINGS=module # Warn once per calling module
|
||||||
PYTHONWARNINGS=once # Warn once per Python process
|
PYTHONWARNINGS=once # Warn once per Python process
|
||||||
PYTHONWARNINGS=ignore # Never warn
|
PYTHONWARNINGS=ignore # Never warn
|
||||||
|
|
|
@ -251,6 +251,7 @@ emitted by a process (even those that are otherwise ignored by default):
|
||||||
-Wdefault # Warn once per call location
|
-Wdefault # Warn once per call location
|
||||||
-Werror # Convert to exceptions
|
-Werror # Convert to exceptions
|
||||||
-Walways # Warn every time
|
-Walways # Warn every time
|
||||||
|
-Wall # Same as -Walways
|
||||||
-Wmodule # Warn once per calling module
|
-Wmodule # Warn once per calling module
|
||||||
-Wonce # Warn once per Python process
|
-Wonce # Warn once per Python process
|
||||||
-Wignore # Never warn
|
-Wignore # Never warn
|
||||||
|
|
Loading…
Reference in New Issue