File tree 1 file changed +6
-5
lines changed 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -981,11 +981,12 @@ Priority of configuration parameters, highest to lowest:
981
981
Priority of warning options, highest to lowest:
982
982
983
983
* ``PyConfig.warnoptions ``
984
- * ``PyConfig.dev_mode `` (add ``"default" ``)
985
- * ``PYTHONWARNINGS `` environment variables
986
- * ``-W WARNOPTION `` command line argument
987
- * ``PyConfig.bytes_warning `` (add ``"error::BytesWarning" `` if greater
988
- than 1, or add ``"default::BytesWarning ``)
984
+ * ``PySys_AddWarnOption() ``
985
+ * ``PyConfig.bytes_warning `` (add ``"error::BytesWarning" `` filter if
986
+ greater than 1, add ``"default::BytesWarning `` filter if equals to 1)
987
+ * ``-W opt `` command line argument
988
+ * ``PYTHONWARNINGS `` environment variable
989
+ * ``PyConfig.dev_mode `` (add ``"default" `` filter)
989
990
990
991
Rules on ``PyConfig `` parameters:
991
992
You can’t perform that action at this time.
0 commit comments