[issue35986] print() documentation typo?

2019-02-15 Thread Stéphane Wirtel

Stéphane Wirtel  added the comment:

not in the CPython repo, just ask to regenerate the PyPI package. thanks

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35986] print() documentation typo?

2019-02-15 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

Yes, but I thought that would be up to @theacodes to release a new version of 
python-docs-theme to PyPI?  Since the last release was 6 months ago and the 
previous one to that was February 2018, I was hoping the new release would come 
soon.

In any event, I didn't think there was anything else that could be done on this 
issue, which is why I closed it.  Is there something that needs to be updated 
in the CPython repository?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35986] print() documentation typo?

2019-02-15 Thread Stéphane Wirtel

Stéphane Wirtel  added the comment:

Thanks @cheryl

but we need to have a new package of python-docs-theme.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35986] print() documentation typo?

2019-02-15 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

This was fixed with https://github.com/python/python-docs-theme/pull/25
by @matrixise.

--
nosy: +cheryl.sabella
resolution: remind -> third party
stage:  -> resolved
status: open -> closed
versions: +Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35986] print() documentation typo?

2019-02-13 Thread Stéphane Wirtel

Stéphane Wirtel  added the comment:

@steven 

I have a solution with a css selector if we update the python-docs theme for 
Sphinx.

You can check my screenshot

--
nosy: +matrixise
Added file: https://bugs.python.org/file48136/print_screenshot.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35986] print() documentation typo?

2019-02-13 Thread Steven D'Aprano


Steven D'Aprano  added the comment:

Which documentation are you referring to?

The docstring says:

print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)

which is clearly a space. The docs here:

https://docs.python.org/3/library/functions.html#print

say something very similar:

print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)

but it is really hard to see the space on the website unless you look very 
carefully, because the font used is a proportional font instead of a monospaced 
font. So the space shown is a tiny little sliver of whitespace.

But if you copy and paste the function signature into your text editor, or 
somewhere you can set the font to use a fixed-width programmers font, you will 
see that there definitely is a space there.

So not a typo, but possibly a poor choice of font. It might be nice to rethink 
the choice of font for parameter lists.

--
nosy: +steven.daprano

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35986] print() documentation typo?

2019-02-13 Thread 李笑来

李笑来  added the comment:

sep argument default value should be ' '(a space), rather than ''(an empty 
string).

--
resolution:  -> remind

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35986] print() documentation typo?

2019-02-13 Thread 李笑来

New submission from 李笑来 :

print(), default value sep, should be ' '(one space), rather than an empty str, 
''.

--
assignee: docs@python
components: Documentation
messages: 335428
nosy: docs@python, 李笑来
priority: normal
severity: normal
status: open
title: print() documentation typo?
type: enhancement
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com