aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-05-08 22:33:10 +0300
committerGitHub <noreply@github.com>2021-05-08 22:33:10 +0300
commita0bd9e9c11f5f52c7ddd19144c8230da016b53c6 (patch)
treefff84d3ae52bfbf3b3e50779625c7b52b01d94b0 /Python/sysmodule.c
parent6692dc1ca99fb34a19d0a4b93cf8e10619490001 (diff)
downloadcpython-a0bd9e9c11f5f52c7ddd19144c8230da016b53c6.tar.gz
cpython-a0bd9e9c11f5f52c7ddd19144c8230da016b53c6.zip
bpo-28307: Convert simple C-style formatting with literal format into f-string. (GH-5012)
C-style formatting with literal format containing only format codes %s, %r and %a (with optional width, precision and alignment) will be converted to an equivalent f-string expression. It can speed up formatting more than 2 times by eliminating runtime parsing of the format string and creating temporary tuple.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions