Changes between Initial Version and Version 6 of Ticket #26769


Ignore:
Timestamp:
11/27/18 13:25:24 (12 months ago)
Author:
embray
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26769

    • Property Status changed from new to needs_review
  • Ticket #26769 – Description

    initial v6  
    22
    33For the very common case of `(list, tuple)` this is faster than `isinstance`, but also has the benefit of being more generic, while not ''quite'' as generic as the much slower `isinstance(x, Sequence)`.
     4
     5#24804 demonstrates an example usage which allows the constructor in question to also accept a Python 3 `range` object (an example which appears in the doctests that did not otherwise work).  This will likely be useful elsewhere but we can find those examples as we come to them.