[issue38495] print built-in function docs bug

2020-11-15 Thread Julien Palard
Julien Palard added the comment: Hi! Thanks Alex for reporting, and everyone involved. This has been fixed in python-docs-theme, so it's fixed for >=3.8. As 3.7 is in security-only (and embeds python-docs-theme), better not touch it. Bests. -- resolution: -> fixed stage: patch

[issue38495] print built-in function docs bug

2020-01-22 Thread Julien Palard
Julien Palard added the comment: PR 17062 about stating it's a space by default has been rejected. I also feel we should just enhance the space width in the prototype. I personally see the space, but as it's in italic, I can understand it's very easy to miss it. I like the `font-family:

[issue38495] print built-in function docs bug

2019-11-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +16570 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17062 ___ Python tracker ___

[issue38495] print built-in function docs bug

2019-10-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Maybe just explain defaults in the text? Print *objects* to the text stream *file* (the standard output by default), separated by *sep* (a space by default) and followed by *end* (a newline by default). -- nosy: +serhiy.storchaka

[issue38495] print built-in function docs bug

2019-10-16 Thread Inada Naoki
Inada Naoki added the comment: https://github.com/sphinx-doc/sphinx/pull/6401/files Recent Sphinx uses . So we can add style like this: .sig-paren { font-family: monospace, sans-serif; font-style: normal; } -- ___ Python tracker

[issue38495] print built-in function docs bug

2019-10-16 Thread Inada Naoki
Inada Naoki added the comment: Space is not trimmed. You can confirm there is a space by copy it from rendered HTML. print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)ΒΆ So this is caused by rendering sep=' '. I don't like , but I'm not sure this can be customized by theme.

[issue38495] print built-in function docs bug

2019-10-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: In the sphinx source it's ' ' so maybe it's a problem with the rendering part. https://raw.githubusercontent.com/python/cpython/master/Doc/library/functions.rst .. function:: print(*objects, sep=' ', end='\\n', file=sys.stdout, flush=False)

[issue38495] print built-in function docs bug

2019-10-16 Thread Alex Mashianov
New submission from Alex Mashianov : Python docs says print() function default sep='': http://joxi.ru/EA44JnfonNwLAb.png While in reality sep=' ': http://joxi.ru/n2YXyRsbw6oYm6.png Probably it's a bug with space not being escaped in html to prevent trimming. -- assignee: docs@python