summaryrefslogtreecommitdiffstats
path: root/Parser/Python.asdl
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2015-09-19 18:51:32 (GMT)
committerEric V. Smith <eric@trueblade.com>2015-09-19 18:51:32 (GMT)
commit235a6f09847ad554d8bf073d4e1d58d1e398ae8c (patch)
tree36ff217247cfcd108914065cea8ddf3ad056d192 /Parser/Python.asdl
parentaed8830af3bb5a79878cf0f603ebbd8a37f5b36e (diff)
downloadcpython-235a6f09847ad554d8bf073d4e1d58d1e398ae8c.zip
cpython-235a6f09847ad554d8bf073d4e1d58d1e398ae8c.tar.gz
cpython-235a6f09847ad554d8bf073d4e1d58d1e398ae8c.tar.bz2
Issue #24965: Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that.
Diffstat (limited to 'Parser/Python.asdl')
-rw-r--r--Parser/Python.asdl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index cd0832d..22775c6 100644
--- a/Parser/Python.asdl
+++ b/Parser/Python.asdl
@@ -71,6 +71,8 @@ module Python
| Call(expr func, expr* args, keyword* keywords)
| Num(object n) -- a number as a PyObject.
| Str(string s) -- need to specify raw, unicode, etc?
+ | FormattedValue(expr value, int? conversion, expr? format_spec)
+ | JoinedStr(expr* values)
| Bytes(bytes s)
| NameConstant(singleton value)
| Ellipsis