New submission from Chas Belov <docor...@sonic.net>:

7.2.7. Code Examples https://devguide.python.org/documenting/#code-examples 
states:

Short code examples can be a useful adjunct to understanding. Readers can often 
grasp a simple example more quickly than they can digest a formal description 
in prose.

[snip]

The ellipsis for the sys.ps2 secondary interpreter prompt should only be used 
sparingly, where it is necessary to clearly differentiate between input lines 
and output lines. Besides contributing visual clutter, it makes it difficult 
for readers to cut-and-paste examples so they can experiment with variations.

-----

I am requesting, as a newcomer to Python who is attempting to navigate the 
Tutorials and encountering challenges, that this be reworded to something like:

Short code examples can be a useful adjunct to understanding. Readers can often 
grasp a simple example more quickly than they can digest a formal description 
in prose.

[snip]

Outside of the Tutorial, the ellipsis for the sys.ps2 secondary interpreter 
prompt should only be used sparingly, where it is necessary to clearly 
differentiate between input lines and output lines. Besides contributing visual 
clutter, it makes it difficult for readers to cut-and-paste examples so they 
can experiment with variations.

Within the Tutorial, however, make the appearance of code blocks as consistent 
with what the student will be experiencing as feasible, to reduce cognitive 
load and allow them to focus on the content.

-----

While I can in fact suss out whether a particular unmarked code block is meant 
to be input or output, it is a distraction that uses up some of my attention 
that I would prefer to spend on learning the language.

----------
messages: 369825
nosy: Chas Belov
priority: normal
severity: normal
status: open
title: For 7.2.7. Code Examples, distinguish between the Tutorial and other 
documentation
versions: Python 3.10

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

Reply via email to