Returns consecutive tails of the sequence. >>> seq([1, 2, 3]).tails() [[1, 2, 3], [2, 3], [3], []] :return: consecutive tail()s of the sequence
(self)
| 340 | return self._transform(transformations.inits_t(_wrap)) |
| 341 | |
| 342 | def tails(self): |
| 343 | """ |
| 344 | Returns consecutive tails of the sequence. |
| 345 | |
| 346 | >>> seq([1, 2, 3]).tails() |
| 347 | [[1, 2, 3], [2, 3], [3], []] |
| 348 | |
| 349 | :return: consecutive tail()s of the sequence |
| 350 | """ |
| 351 | return self._transform(transformations.tails_t(_wrap)) |
| 352 | |
| 353 | def cartesian(self, *iterables, **kwargs): |
| 354 | """ |