TGTGInsighttelegram intelligenceLIVE / telegram public index
← 记

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @nnnoteee · Post #809 · Nov 4

#酷 贩子要急了 lmarena的请求体格式变了,用户发的消息或历史消息改成在云端存储了,完全无法注入 可能大的要来了吧 闹钟LLM骇客,你在哪

Hashtags

Results

1 similar post found

Search: #f_strings

当前筛选 #f_strings清除筛选
djangoproject

@djangoproject · Post #435 · 09/07/2017, 01:47 PM

https://www.python.org/dev/peps/pep-0498/ #Interpolation # Python supports multiple ways to format text strings. # These include %-formatting, # str.format(), # and string.Template # The !s, !r, and !a conversions are not strictly required. # Because arbitrary expressions are allowed inside the #f_strings, # this code: »> a = 'some string' »> f'{a!r}' "'some string'" Is identical to: »> f'{repr(a)}' "'some string'" Similarly, !s can be replaced by calls to #str() and !a by calls to #ascii().