[issue5850] Full example for emulating a container type

Raymond Hettinger report at bugs.python.org
Mon Apr 27 19:05:32 CEST 2009


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

I think we've got this covered with the examples for the collections
module ABCs.  We have one for ListBasedSet and are adding a link for to
an OrderedSet recipe.   The ABCs themselves provide a clear path on how
to implement major container types.  The UserDict, UserList, and
UserString classes are also worked-out examples.

----------
assignee: georg.brandl -> rhettinger
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5850>
_______________________________________


More information about the Python-bugs-list mailing list