Skip to content

Commit 0a1e8ff

Browse files
authored
gh-121101: Document -Wall option (an alias for -Walways) (#121102)
1 parent 6d34938 commit 0a1e8ff

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Doc/using/cmdline.rst

+2
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ Miscellaneous options
447447
-Wdefault # Warn once per call location
448448
-Werror # Convert to exceptions
449449
-Walways # Warn every time
450+
-Wall # Same as -Walways
450451
-Wmodule # Warn once per calling module
451452
-Wonce # Warn once per Python process
452453
-Wignore # Never warn
@@ -915,6 +916,7 @@ conflict.
915916
PYTHONWARNINGS=default # Warn once per call location
916917
PYTHONWARNINGS=error # Convert to exceptions
917918
PYTHONWARNINGS=always # Warn every time
919+
PYTHONWARNINGS=all # Same as PYTHONWARNINGS=always
918920
PYTHONWARNINGS=module # Warn once per calling module
919921
PYTHONWARNINGS=once # Warn once per Python process
920922
PYTHONWARNINGS=ignore # Never warn

Misc/python.man

+1
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ emitted by a process (even those that are otherwise ignored by default):
251251
-Wdefault # Warn once per call location
252252
-Werror # Convert to exceptions
253253
-Walways # Warn every time
254+
-Wall # Same as -Walways
254255
-Wmodule # Warn once per calling module
255256
-Wonce # Warn once per Python process
256257
-Wignore # Never warn

0 commit comments

Comments
 (0)