[docs] [issue30941] Missing line in example program

Luc Bougé report at bugs.python.org
Sun Jul 16 14:24:33 EDT 2017


New submission from Luc Bougé:

On page <https://docs.python.org/3.6/_sources/library/stdtypes.txt>, the following program is listed.

It raises a syntactic error.

An empty line is missing after "...     n += val" to close the loop body. 

   >>> # iteration
   >>> n = 0
   >>> for val in values:
   ...     n += val
   >>> print(n)
   504

----------
assignee: docs at python
components: Documentation
messages: 298445
nosy: docs at python, lucbouge
priority: normal
severity: normal
status: open
title: Missing line in example program
type: resource usage
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30941>
_______________________________________


More information about the docs mailing list