Message321977
| Author | oboff |
|---|---|
| Recipients | docs@python, oboff |
| Date | 2018-07-20.04:52:02 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1532062323.28.0.56676864532.issue34161@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Tutorial 7.1 str.format() example (https://docs.python.org/3.7/tutorial/inputoutput.html#fancier-output-formatting): [1]yes_votes = 42_572_654 ; no_votes = 43_132_495 [2]percentage = (yes_votes/(yes_votes+no_votes) [3]'{:-9} YES votes {:2.2%}'.format(yes_votes, percentage)) Proposed Fix: Remove first open parens on line 2 and last close parens on line 3. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-07-20 04:52:03 | oboff | set | recipients: + oboff, docs@python |
| 2018-07-20 04:52:03 | oboff | set | messageid: <1532062323.28.0.56676864532.issue34161@psf.upfronthosting.co.za> |
| 2018-07-20 04:52:03 | oboff | link | issue34161 messages |
| 2018-07-20 04:52:02 | oboff | create | |