summaryrefslogtreecommitdiffstats
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-10-09 01:17:30 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-10-09 01:17:30 (GMT)
commit797485e10135ca323565b22b4fabf1e161a5ec7a (patch)
treefb439a51835b26a3c5bf7c066d74e7a75ac83b10 /Lib/sre_constants.py
parentb13b97d3b881daaab8f3bf32cc851eac9b895c52 (diff)
downloadcpython-797485e10135ca323565b22b4fabf1e161a5ec7a.zip
cpython-797485e10135ca323565b22b4fabf1e161a5ec7a.tar.gz
cpython-797485e10135ca323565b22b4fabf1e161a5ec7a.tar.bz2
Issue #25318: Avoid sprintf() in backslashreplace()
Rewrite backslashreplace() to be closer to PyCodec_BackslashReplaceErrors(). Add also unit tests for non-BMP characters.
Diffstat (limited to 'Lib/sre_constants.py')
0 files changed, 0 insertions, 0 deletions