Commit e3e67c8
DEP: remove
* Remove __next__ method from Expr class
The __next__ method was removed from the Expr class, leaving only __iter__ for iteration. This simplifies the class and relies on the iterator protocol of self.terms.
* Update CHANGELOG.md
* Revert "Update CHANGELOG.md"
This reverts commit ebc8cb4.
* Remove __next__ method from Expr class stub
The __next__ method was removed from the Expr class in the type stub file, likely because Expr is not intended to be an iterator. This change improves the accuracy of the type hints.
---------
Co-authored-by: João Dionísio <57299939+Joao-Dionisio@users.noreply.github.com>__next__ from Expr (#1169)1 parent 2229b43 commit e3e67c8
2 files changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | 205 | | |
210 | 206 | | |
211 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
346 | 345 | | |
347 | 346 | | |
348 | 347 | | |
| |||
0 commit comments