Commit 9b15aaf
committed
Don't duplicate deprecated parameter addendum.
Since `kwargs` is from the outer scope, adding to it will persist for
every time the deprecated wrapper function is called. Instead, save
the original `addendum` in the outer scope, and don't modify the outer
variables in the inner wrapper function.1 parent 207fd42 commit 9b15aaf
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
382 | 384 | | |
383 | 385 | | |
384 | 386 | | |
| |||
396 | 398 | | |
397 | 399 | | |
398 | 400 | | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
405 | 404 | | |
406 | 405 | | |
407 | 406 | | |
408 | 407 | | |
| 408 | + | |
| 409 | + | |
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
| |||
0 commit comments