Message331827
Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:05:16) [MSC v.1915 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> spam = 'spam'
>>> f'{spam[0}'
File "<stdin>", line 1
SyntaxError: f-string: expecting '}'
The error message seems wrong because a "]" is missing rather than a "}". |
|
Date |
User |
Action |
Args |
2018-12-14 13:34:17 | seblin | set | recipients:
+ seblin |
2018-12-14 13:34:17 | seblin | set | messageid: <1544794457.33.0.788709270274.issue35494@psf.upfronthosting.co.za> |
2018-12-14 13:34:17 | seblin | link | issue35494 messages |
2018-12-14 13:34:17 | seblin | create | |
|