commit | 8c5326f103d1b71aac293815f0f731d756c1a90a | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Apr 29 22:44:07 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Apr 29 22:44:07 2009 +0000 |
tree | ee61aaaf9d8fcd13f2c49f051ed5a54cfab95b2b | |
parent | 9c6fc5187fbf23d584834e9c9697986c42cabecd [diff] [blame] |
#5878: fix repr of re object.
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index 81d5aba..71ff56d 100644 --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst
@@ -264,7 +264,7 @@ >>> import re >>> p = re.compile('ab*') >>> print p - <re.RegexObject instance at 80b4150> + <_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