Changes between Initial Version and Version 1 of Ticket #24639, comment 15


Ignore:
Timestamp:
02/05/18 06:35:37 (5 years ago)
Author:
tscrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24639, comment 15

    initial v1  
    33>
    44> Thanks for review.
    5 
     5
     6No problem.
     7
    68> > Although that has something worse: raising a `StopIteration` (at least, IIRC this to be a bad thing and instead you should just `return`).
    79>
    810> Can be no `yield` and `return` in the same function.
    911
    10 Void returns are okay, you just cannot return any object.
     12Void returns are okay, you just cannot return any object. Addendum: For example, see `sage.combinat.partitions.RegularPartitions_all.__iter__`.