Serhiy Storchaka added the comment: accept= (or accept_types=) LGTM. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24001> _______________________________________