Should stdlib files contain 'narrow non breaking space' U+202F?

Zachary Ware zachary.ware+pylist at gmail.com
Fri Dec 18 03:32:30 EST 2015


On Fri, Dec 18, 2015 at 1:43 AM, Chris Angelico <rosuav at gmail.com> wrote:
> On Fri, Dec 18, 2015 at 6:12 PM, Serhiy Storchaka <storchaka at gmail.com> wrote:
>> Agreed. Please open an issue.
>>
>> Using non-ASCII apostrophes and like in docstrings may be considered a bug.
>
> http://bugs.python.org/issue25899
>
> Also noticed this. Is this a markup error?
>
> Lib/urllib/request.py:190:
>     Note that *None& may be returned if no handler handles the request (though
>     the default installed global OpenerDirector uses UnknownHandler to ensure
>     this never happens).

The '&' is a typo; it should have been '*'.

> It looks fine on the web:
> https://docs.python.org/3/library/urllib.request.html

Because what's on the web has no relation to the docstring :)

-- 
Zach



More information about the Python-list mailing list