File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -691,16 +691,13 @@ The following exceptions are used as warning categories; see the
691
691
692
692
.. exception :: PendingDeprecationWarning
693
693
694
- Base class for warnings about features which will be deprecated in the
695
- future.
694
+ Base class for warnings about features which are obsolete and
695
+ expected to be deprecated in the future, but are not deprecated
696
+ at the moment.
696
697
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.
698
+ This class is rarely used as emitting a warning about a possible
699
+ upcoming deprecation is unusual, and :exc: `DeprecationWarning `
700
+ is preferred for already active deprecations.
704
701
705
702
706
703
.. exception :: SyntaxWarning
You can’t perform that action at this time.
0 commit comments