Taking collection interfaces seriously #52705
Labels
collections
Data structures holding multiple items, e.g. sets
docs
This change adds or pertains to documentation
This will probably get closed as a duplicate, but I think it is high time that we provide actual interface definitions for the various collection categories listed on the "Collections and Data Structures" page of the manual. That page hints at interfaces for the various categories, but does not provide a clear guide to which methods are required and which methods are optional in order to implement the various interfaces. (Plus, that page includes docstrings for a bunch of functions that most likely do not need to be implemented by new types.)
Here is a list of collection interfaces from that page that need better documentation on the interface requirements:
AbstractDict
)AbstractSet
)See also #34677 and #25941. And also #28784 for documentation of the
AbstractString
interface.The text was updated successfully, but these errors were encountered: