summaryrefslogtreecommitdiff
path: root/textutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'textutils.py')
-rw-r--r--textutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textutils.py b/textutils.py
index 5019ebe..4e98e93 100644
--- a/textutils.py
+++ b/textutils.py
@@ -366,7 +366,7 @@ def pretty_match(match, string, underline_char='^'):
"""return a string with the match location underlined:
>>> import re
- >>> print pretty_match(re.search('mange', 'il mange du bacon'), 'il mange du bacon')
+ >>> print(pretty_match(re.search('mange', 'il mange du bacon'), 'il mange du bacon'))
il mange du bacon
^^^^^
>>>