diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-25 14:27:28 +0100 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-25 14:27:28 +0100 |
commit | 312f32abac70c8fd3e1fe13b75dcb61121dd8808 (patch) | |
tree | b2ae909e068b3bdfa3801e72badb7e5a2e893fbd | |
parent | 3efbd51c55e6a4791aa79f84606417113050aede (diff) | |
download | logilab-common-312f32abac70c8fd3e1fe13b75dcb61121dd8808.tar.gz |
py3k: make doctest py3k compatible
-rw-r--r-- | textutils.py | 2 |
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 ^^^^^ >>> |