#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