summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-03-19 12:13:31 (GMT)
committerGitHub <noreply@github.com>2022-03-19 12:13:31 (GMT)
commit4142961b9f5ad3bf93976a6a7162f8049e354018 (patch)
tree67f64a7584a131766a4015425264d00317fda614 /Misc
parent0a8b8e0d262eae83ffbc6b414a1f5747cdbd1d88 (diff)
downloadcpython-4142961b9f5ad3bf93976a6a7162f8049e354018.zip
cpython-4142961b9f5ad3bf93976a6a7162f8049e354018.tar.gz
cpython-4142961b9f5ad3bf93976a6a7162f8049e354018.tar.bz2
bpo-39394: Improve warning message in the re module (GH-31988)
A warning about inline flags not at the start of the regular expression now contains the position of the flag.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-03-19-13-38-29.bpo-39394.7j6WL6.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-03-19-13-38-29.bpo-39394.7j6WL6.rst b/Misc/NEWS.d/next/Library/2022-03-19-13-38-29.bpo-39394.7j6WL6.rst
new file mode 100644
index 0000000..9285179
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-03-19-13-38-29.bpo-39394.7j6WL6.rst
@@ -0,0 +1,2 @@
+A warning about inline flags not at the start of the regular expression now
+contains the position of the flag.