Further beautification of the example
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index a753c68..84f3118 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -1334,12 +1334,15 @@
         if pos != len(s):
             raise RuntimeError('Unexpected character %r on line %d' %(s[pos], line))
 
-    >>> statements = '''\
+    statements = '''\
         total := total + price * quantity;
         tax := price * 0.05;
     '''
-    >>> for token in tokenize(statements):
-            print(token)
+
+    for token in tokenize(statements):
+        print(token)
+
+The tokenizer produces the following output::
 
     Token(typ='ID', value='total', line=1, column=8)
     Token(typ='ASSIGN', value=':=', line=1, column=14)