Jasper St. Pierre <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue14824>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com