Fix raw f-string interpolation

Fixes #32
This commit is contained in:
nfnty
2017-08-04 13:51:08 +02:00
parent 35841908e4
commit 58d6e019d3
2 changed files with 2 additions and 1 deletions

View File

@@ -236,6 +236,7 @@ f"{var}...{arr[123]} normal {var['{'] // 0xff} \"xzcb\" 'xzcb' {var['}'] + 1} te
f"{expr1 if True or False else expr2} wow {','.join(c.lower() for c in 'asdf')}"
f"hello {expr:.2f} yes {(lambda: 0b1)():#03x} lol {var!r}"
f'brackets: {{ 1 + 2 }} and {{{{ 3 + 4 }}}}'
fr'this {that}'
# Doctests.