Commit fce2993
authored
Improve Deprecation Warning for __slots__ (python-telegram-bot#2574)
* add stacklevel to `set_new_attribute_deprecated`
* detail warning message and change stacklevel1 parent 9aec8de commit fce2993
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
| 46 | + | |
45 | 47 | | |
0 commit comments