Commit 8b4ad30
authored
Fix SpriteList.pop exception type on empty (#2103)
* Use IndexError instead of ValueError on empty SpriteList
* Docstring update for SpriteList.pop
* Add tests for pop exceptions
* Fix doc build
* Fix typos and use inv file inspection target
* Use python -m sphinx.ext.intersphinx to discover the pop doc's actual target (Python, why?)
* Fix various typos and style issues1 parent 4c1ef70 commit 8b4ad30
2 files changed
Lines changed: 27 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
593 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
594 | 600 | | |
595 | | - | |
| 601 | + | |
| 602 | + | |
596 | 603 | | |
597 | 604 | | |
598 | | - | |
| 605 | + | |
599 | 606 | | |
600 | 607 | | |
601 | 608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
116 | 132 | | |
117 | 133 | | |
118 | 134 | | |
| |||
0 commit comments