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.

Author seblin
Recipients seblin
Date 2018-12-14.13:34:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544794457.33.0.788709270274.issue35494@psf.upfronthosting.co.za>
In-reply-to
Content
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 "}".
History
Date User Action Args
2018-12-14 13:34:17seblinsetrecipients: + seblin
2018-12-14 13:34:17seblinsetmessageid: <1544794457.33.0.788709270274.issue35494@psf.upfronthosting.co.za>
2018-12-14 13:34:17seblinlinkissue35494 messages
2018-12-14 13:34:17seblincreate