Skip to content

Commit cd0f04a

Browse files
wimglennnoahbkim
authored andcommitted
pythongh-121101: Document -Wall option (an alias for -Walways) (python#121102)
1 parent 708fb11 commit cd0f04a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Doc/using/cmdline.rst

Lines changed: 2 additions & 0 deletions
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
@@ -923,6 +924,7 @@ conflict.
923924
PYTHONWARNINGS=default # Warn once per call location
924925
PYTHONWARNINGS=error # Convert to exceptions
925926
PYTHONWARNINGS=always # Warn every time
927+
PYTHONWARNINGS=all # Same as PYTHONWARNINGS=always
926928
PYTHONWARNINGS=module # Warn once per calling module
927929
PYTHONWARNINGS=once # Warn once per Python process
928930
PYTHONWARNINGS=ignore # Never warn

Misc/python.man

Lines changed: 1 addition & 0 deletions
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)