May 18, 2012
8:39 p.m.
Jasper St. Pierre <jstpierre@mecheye.net> added the comment: The documentation is just flat out wrong, actually: if ' ' in typename: parts = typename.split() typename = '_'.join(parts) The documentation is claiming the inverse. I don't know why we would ever have a space in a typename, ever (and if someone does awful hacks to get to that state, he should probably also do awful hacks to make reprlib work properly). It would be for the best if we could just remove this brain damage, but whatever. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue14824> _______________________________________