[Python-checkins] cpython: #13592, #17087: add whatsnew entry about regex/match object repr improvements.
ezio.melotti
python-checkins at python.org
Mon Nov 25 22:20:39 CET 2013
http://hg.python.org/cpython/rev/4ba7a29fe02c
changeset: 87563:4ba7a29fe02c
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Mon Nov 25 23:20:20 2013 +0200
summary:
#13592, #17087: add whatsnew entry about regex/match object repr improvements.
files:
Doc/whatsnew/3.4.rst | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -693,6 +693,13 @@
which anchor the pattern at both ends of the string to match.
(Contributed by Matthew Barnett in :issue:`16203`.)
+The repr of :ref:`regex objects <re-objects>` now includes the pattern
+and the flags; the repr of :ref:`match objects <match-objects>` now
+includes the start, end, and the part of the string that matched.
+
+(Contributed by Serhiy Storchaka in :issue:`13592` and :issue:`17087`.)
+
+
resource
--------
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list