This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Syntax error in http://docs.python.org/library/decimal.html#recipes
Type: Stage:
Components: Documentation Versions: Python 2.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Jean.Jordaan, docs@python
Priority: normal Keywords:

Created on 2010-06-09 13:07 by Jean.Jordaan, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg107396 - (view) Author: Jean Jordaan (Jean.Jordaan) Date: 2010-06-09 13:07
http://docs.python.org/library/decimal.html#recipes
has this code: 

    for i in range(places):
        build(next() if digits else '0')

Mismatched parenthesis.
msg107397 - (view) Author: Jean Jordaan (Jean.Jordaan) Date: 2010-06-09 13:09
Aargh, sorry, sent too quick :-(
History
Date User Action Args
2022-04-11 14:57:02adminsetgithub: 53199
2010-06-09 13:22:02brian.curtinsetresolution: not a bug
2010-06-09 13:09:14Jean.Jordaansetstatus: open -> closed

messages: + msg107397
2010-06-09 13:07:44Jean.Jordaancreate