Changes between Initial Version and Version 1 of Ticket #24639, comment 15
- Timestamp:
- 02/05/18 06:35:37 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24639, comment 15
initial v1 3 3 > 4 4 > Thanks for review. 5 > 5 6 No problem. 7 6 8 > > Although that has something worse: raising a `StopIteration` (at least, IIRC this to be a bad thing and instead you should just `return`). 7 9 > 8 10 > Can be no `yield` and `return` in the same function. 9 11 10 Void returns are okay, you just cannot return any object. 12 Void returns are okay, you just cannot return any object. Addendum: For example, see `sage.combinat.partitions.RegularPartitions_all.__iter__`.