File: python314.py

package info (click to toggle)
pycodestyle 2.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 632 kB
  • sloc: python: 4,743; makefile: 135; sh: 12
file content (19 lines) | stat: -rw-r--r-- 281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#: Okay
try:
    raise AssertionError('hi')
except AssertionError, ValueError:
    pass

t'hello {world}'
t'{hello}:{world}'
t'in{x}'
t'hello{world=}'
#: Okay
# new nested f-strings
t'{
    thing
} {t'{other} {thing}'}'
#: E201:1:4 E202:1:17
t'{ an_error_now }'
#: Okay
t'{x:02x}'