Author Mariatta
Recipients Mariatta, docs@python
Date 2019-10-02.16:45:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570034736.68.0.500723145519.issue38351@roundup.psfhosted.org>
In-reply-to
Content
A string was formatted with %s in the code example 

https://github.com/python/cpython/blob/b3e7045f8314e7b62cd95861d207fe2f97e47198/Doc/includes/email-simple.py#L15 

```
msg['Subject'] = 'The contents of %s' % textfile
```

It would be great to modernize that into fstring.

Doc can be read at: https://docs.python.org/3.7/library/email.examples.html
History
Date User Action Args
2019-10-02 16:45:36Mariattasetrecipients: + Mariatta, docs@python
2019-10-02 16:45:36Mariattasetmessageid: <1570034736.68.0.500723145519.issue38351@roundup.psfhosted.org>
2019-10-02 16:45:36Mariattalinkissue38351 messages
2019-10-02 16:45:36Mariattacreate