mirror of
https://github.com/python/cpython.git
synced 2024-11-23 01:45:25 +08:00
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
|
||||
-Werror # Convert to exceptions
|
||||
-Walways # Warn every time
|
||||
-Wall # Same as -Walways
|
||||
-Wmodule # Warn once per calling module
|
||||
-Wonce # Warn once per Python process
|
||||
-Wignore # Never warn
|
||||
@ -915,6 +916,7 @@ conflict.
|
||||
PYTHONWARNINGS=default # Warn once per call location
|
||||
PYTHONWARNINGS=error # Convert to exceptions
|
||||
PYTHONWARNINGS=always # Warn every time
|
||||
PYTHONWARNINGS=all # Same as PYTHONWARNINGS=always
|
||||
PYTHONWARNINGS=module # Warn once per calling module
|
||||
PYTHONWARNINGS=once # Warn once per Python process
|
||||
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
|
||||
-Werror # Convert to exceptions
|
||||
-Walways # Warn every time
|
||||
-Wall # Same as -Walways
|
||||
-Wmodule # Warn once per calling module
|
||||
-Wonce # Warn once per Python process
|
||||
-Wignore # Never warn
|
||||
|
Loading…
Reference in New Issue
Block a user