diff Misc/python.man @ 60436:f369db0d5845

Merged revisions 79878-79880 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79878 | philip.jenvey | 2010-04-06 16:24:45 -0700 (Tue, 06 Apr 2010) | 4 lines #7301: add the environment variable $PYTHONWARNINGS to supplement the -W command line option patch from Brian Curtin ........ r79879 | benjamin.peterson | 2010-04-06 16:32:27 -0700 (Tue, 06 Apr 2010) | 1 line tell people to update python.man, too ........ r79880 | philip.jenvey | 2010-04-06 16:38:57 -0700 (Tue, 06 Apr 2010) | 1 line document new PYTHONWARNINGS env var ........
author Philip Jenvey <pjenvey@underboss.org>
date Wed, 07 Apr 2010 04:04:10 +0000
parents b57da4a4a3ed
children a4a6d823ff89
line wrap: on
line diff
--- a/Misc/python.man	Tue Apr 06 22:13:37 2010 +0000
+++ b/Misc/python.man	Wed Apr 07 04:04:10 2010 +0000
@@ -394,6 +394,9 @@
 If this is set to a non-empty string it is equivalent to specifying
 the \fB\-v\fP option. If set to an integer, it is equivalent to
 specifying \fB\-v\fP multiple times. 
+.IP PYTHONWARNINGS
+If this is set to a comma-separated string it is equivalent to
+specifying the \fB\-W\fP option for each separate value.
 .SH AUTHOR
 The Python Software Foundation: http://www.python.org/psf
 .SH INTERNET RESOURCES