Author pablogsal
Recipients BTaskaya, ammar2, pablogsal
Date 2021-08-11.07:59:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Given this code:

print(f"Here is that pesky {xxx/2:.3f} again")

The traceback prints:

Traceback (most recent call last):
  File "/home/pablogsal/github/python/main/", line 1, in <module>
    print(f"Here is that pesky {xxx/2:.3f} again")
NameError: name 'xxx' is not defined

Removing the formatting part ":.3f" makes it work as expected
Date User Action Args
2021-08-11 07:59:02pablogsalsetrecipients: + pablogsal, ammar2, BTaskaya
2021-08-11 07:59:02pablogsalsetmessageid: <>
2021-08-11 07:59:02pablogsallinkissue44885 messages
2021-08-11 07:59:01pablogsalcreate