Brian Scearce <b...@pathetique.com> added the comment: For what it's worth, after I posted my comment, I realized I could use tuple comparison semantics:
loc = bisect.bisect(mapping, (line,)) since my key happens to be at index 0. "key=" would still be nice. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4356> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com