[issue4973] calendar formatyearpage returns bytes, not str
Gabriel Genellina
report at bugs.python.org
Sun Jan 18 10:34:42 CET 2009
Gabriel Genellina <gagsl-py2 at yahoo.com.ar> added the comment:
This is the expected behavior; that's why the function takes an
"encoding" argument. As it returns a complete XML document, it must be
already encoded. Other methods return just document pieces, so str is
fine. Probably should be better explained in the documentation.
----------
nosy: +gagenellina
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4973>
_______________________________________
More information about the Python-bugs-list
mailing list