Andrew Svetlov added the comment: Your example is comprehensive but not simple and obvious. I think better to keep it out of doc. ---------- nosy: +asvetlov _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue16580> _______________________________________