From: Georg Brandl Date: Wed, 29 Apr 2009 22:44:07 +0000 (+0000) Subject: #5878: fix repr of re object. X-Git-Tag: v2.7a1~1333 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c5326f103d1b71aac293815f0f731d756c1a90a;p=python #5878: fix repr of re object. --- diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index 81d5abaf58..71ff56d3f4 100644 --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst @@ -264,7 +264,7 @@ performing string substitutions. :: >>> import re >>> p = re.compile('ab*') >>> print p - + <_sre.SRE_Pattern object at 80b4150> :func:`re.compile` also accepts an optional *flags* argument, used to enable various special features and syntax variations. We'll go over the available