STINNER Victor added the comment:

A "string" can be a bytes string or a character string. I modified the 
documentation to be more explicitly, but IMO it's fine to keep "string" term in 
unit tests and error messages. You should not get the "string" error message if 
you pass a bytes or str object.

----------
resolution: fixed -> 
stage: resolved -> 
status: closed -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21758>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to