New submission from Jean-Paul Calderone <exar...@divmod.com>: codecs.lookup is documented as returning a tuple. It actually returns a what the registered lookup function returns, which really *should* be a codecs.CodecInfo instance. If a registered lookup function actually returns a tuple, then codecs.getreader and the other similar functions won't work.
---------- assignee: georg.brandl components: Documentation messages: 83640 nosy: exarkun, georg.brandl severity: normal status: open title: codecs.lookup docstring is misleading _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5496> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com