Skip to content

Commit 607ef54

Browse files
committed
explain variable
1 parent 130d85b commit 607ef54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/pandas/pdeps/0017-backwards-compatibility-and-deprecation-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Additionally, when one introduces a deprecation, they should:
5959
### Which warning class to use
6060

6161
Deprecations should initially use ``DeprecationWarning``, and then be switched to ``FutureWarning`` for broader visibility in the final minor version before the major release they are planned to be removed in.
62-
This implementation detail can be ignored by using the appropriate ``PandasDeprecationWarning`` variable.
62+
This implementation detail can be ignored by using the appropriate ``PandasDeprecationWarning`` variable, which will be aliased to the proper warning class based on the pandas version.
6363

6464
Not all deprecations have to use ``DeprecationWarning`` but all deprecations should eventually transition to ``FutureWarning``, i.e. deprecations in the final minor version which are planned to be removed in the major release after will immediately use ``FutureWarning``.
6565

0 commit comments

Comments
 (0)