Repository navigation
Commit 669a69c
committed
Clean up _parse_init_args keyword handling
Drop the empty if (!kwargs) fast-path branch and give the defensive
duplicate-'data' check a proper error message instead of returning -1
without setting an exception.1 parent 4a6136d commit 669a69c
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
734 | | - | |
735 | | - | |
| 733 | + | |
736 | 734 | | |
737 | 735 | | |
738 | 736 | | |
| |||
776 | 774 | | |
777 | 775 | | |
778 | 776 | | |
779 | | - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
780 | 782 | | |
781 | 783 | | |
782 | 784 | | |
| |||
0 commit comments