#5878: fix repr of re object.

This commit is contained in:
Georg Brandl 2009-04-29 22:44:07 +00:00
parent 9c6fc5187f
commit 8c5326f103
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ performing string substitutions. ::
>>> 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