summaryrefslogtreecommitdiff
path: root/Lib/regsub.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/regsub.py')
-rw-r--r--Lib/regsub.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/regsub.py b/Lib/regsub.py
index 9b8fae5854..0fc10a5f68 100644
--- a/Lib/regsub.py
+++ b/Lib/regsub.py
@@ -191,8 +191,8 @@ def test():
fields = split(line, delpat)
if len(fields) != 3:
print 'Sorry, not three fields'
- print 'split:', `fields`
+ print 'split:', repr(fields)
continue
[pat, repl, str] = split(line, delpat)
- print 'sub :', `sub(pat, repl, str)`
- print 'gsub:', `gsub(pat, repl, str)`
+ print 'sub :', repr(sub(pat, repl, str))
+ print 'gsub:', repr(gsub(pat, repl, str))