File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -694,6 +694,14 @@ The following exceptions are used as warning categories; see the
694
694
Base class for warnings about features which will be deprecated in the
695
695
future.
696
696
697
+ .. note ::
698
+ PendingDeprecationWarning was introduced as an "ignored by default"
699
+ version of DeprecationWarning. But :exc: `DeprecationWarning ` is also
700
+ ignored by default since Python 2.7 and 3.2.
701
+ There is not much difference between PendingDeprecationWarning and
702
+ DeprecationWarning nowadays. DeprecationWarning is recommended
703
+ in general.
704
+
697
705
698
706
.. exception :: SyntaxWarning
699
707
Original file line number Diff line number Diff line change @@ -109,11 +109,11 @@ The following warnings category classes are currently defined:
109
109
+----------------------------------+-----------------------------------------------+
110
110
111
111
.. versionchanged :: 3.7
112
- Previously :exc: `DeprecationWarning ` and :exc: `FutureWarning ` were
113
- distinguished based on whether a feature was being removed entirely or
114
- changing its behaviour. They are now distinguished based on their
115
- intended audience and the way they're handled by the default warnings
116
- filters.
112
+ Previously :exc: `DeprecationWarning ` and :exc: `FutureWarning ` were
113
+ distinguished based on whether a feature was being removed entirely or
114
+ changing its behaviour. They are now distinguished based on their
115
+ intended audience and the way they're handled by the default warnings
116
+ filters.
117
117
118
118
119
119
.. _warning-filter :
You can’t perform that action at this time.
0 commit comments