Re: [Python-Dev] PEP 461 Final?

2014年1月18日 03:41:56 -0800

On 2014年1月17日 08:49:21 -0800
Ethan Furman <[email protected]> wrote:
> ================================================================================
> PEP: 461
There are formatting issues in the HTML rendering, I think the ReST
code needs a bit massaging:
http://www.python.org/dev/peps/pep-0461/
> .. note::
> 
> Because the str type does not have a __bytes__ method, attempts to
> directly use 'a string' as a bytes interpolation value will raise an
> exception. To use 'string' values, they must be encoded or otherwise
> transformed into a bytes sequence::
s/'string' values/unicode strings/
Regards
Antoine.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to