Commit 90757c9
committed
OptionsMixin(fix): Use DeprecationWarning for deprecated g parameter
why: Deprecation warnings should use proper DeprecationWarning category
to be properly filtered by Python's warning system
what:
- Update all 4 instances of g deprecation warning to use category=DeprecationWarning
- Affects set_option, _show_options_raw, _show_option_raw, show_option1 parent 17c4ccd commit 90757c9
1 file changed
+20
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
671 | 675 | | |
672 | 676 | | |
673 | 677 | | |
| |||
823 | 827 | | |
824 | 828 | | |
825 | 829 | | |
826 | | - | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
827 | 835 | | |
828 | 836 | | |
829 | 837 | | |
| |||
1048 | 1056 | | |
1049 | 1057 | | |
1050 | 1058 | | |
1051 | | - | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
1052 | 1064 | | |
1053 | 1065 | | |
1054 | 1066 | | |
| |||
1209 | 1221 | | |
1210 | 1222 | | |
1211 | 1223 | | |
1212 | | - | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
1213 | 1229 | | |
1214 | 1230 | | |
1215 | 1231 | | |
| |||
0 commit comments