Antoine Pitrou <[email protected]> added the comment: > I need to be able to catch all named tuples, I don't know in advance > what instance of a namedtuple it might be, but I want my function to > only accept named tuples. Is this unreasonable?
I don't know. Why exactly don't you want to accept something else? Perhaps the user has their own namedtuple-like class. Or perhaps they're fine with plain tuples. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue7796> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
