diff options
author | Barry Warsaw <barry@python.org> | 2017-09-04 20:32:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 20:32:10 (GMT) |
commit | ba4279683f8eb8f59be10d12547ea89480614388 (patch) | |
tree | a04e6ac5d0855275d27308072b05c7635423ed9e /Misc | |
parent | f9f17346d722b6f073a048b41ec0d6adf336d1d2 (diff) | |
download | cpython-ba4279683f8eb8f59be10d12547ea89480614388.zip cpython-ba4279683f8eb8f59be10d12547ea89480614388.tar.gz cpython-ba4279683f8eb8f59be10d12547ea89480614388.tar.bz2 |
bpo-1198569: Allow string.Template braced pattern to be different (#3288)
* bpo-1198569: Allow the braced pattern to be different
``string.Template`` subclasses can optionally define ``braceidpattern`` if
they want to specify different placeholder patterns inside and outside the
braces. If None (the default) it falls back to ``idpattern``.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-09-04-10-53-06.bpo-1198569.vhh2nY.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-04-10-53-06.bpo-1198569.vhh2nY.rst b/Misc/NEWS.d/next/Library/2017-09-04-10-53-06.bpo-1198569.vhh2nY.rst new file mode 100644 index 0000000..8675419 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-09-04-10-53-06.bpo-1198569.vhh2nY.rst @@ -0,0 +1,3 @@ +``string.Template`` subclasses can optionally define ``braceidpattern`` if +they want to specify different placeholder patterns inside and outside the +braces. If None (the default) it falls back to ``idpattern``. |