Skip to content

Commit 06e45dc

Browse files
committed
Use an indentend block of option for -W... examples
1 parent 76457c3 commit 06e45dc

1 file changed

Lines changed: 24 additions & 11 deletions

File tree

Misc/python.man

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -254,17 +254,30 @@ to
254254

255255
The simplest settings apply a particular action unconditionally to all warnings
256256
emitted by a process (even those that are otherwise ignored by default):
257-
258-
.nf
259-
\-Wdefault # Warn once per call location
260-
\-Werror # Convert to exceptions
261-
\-Walways # Warn every time
262-
\-Wall # Same as \-Walways
263-
\-Wmodule # Warn once per calling module
264-
\-Wonce # Warn once per Python process
265-
\-Wignore # Never warn
266-
.fi
267-
257+
.RS
258+
.TP
259+
.B \-Wdefault
260+
Warn once per call location
261+
.TP
262+
.B \-Werror
263+
Convert to exceptions
264+
.TP
265+
.B \-Walways
266+
Warn every time
267+
.TP
268+
.B \-Wall
269+
Same as \-Walways
270+
.TP
271+
.B \-Wmodule
272+
Warn once per calling module
273+
.TP
274+
.B \-Wonce
275+
Warn once per Python process
276+
.TP
277+
.B \-Wignore
278+
Never warn
279+
.RE
280+
.IP
268281
The action names can be abbreviated as desired and the interpreter will resolve
269282
them to the appropriate action name. For example,
270283
.B \-Wi

0 commit comments

Comments
 (0)