Benjamin Peterson added the comment: That's because argument error messages use the code's co_name rather than the functions. (This is a dupe of another bug about this that I can't find.)
---------- nosy: +benjamin.peterson _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18656> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com