changeset 10708:61c52fedbd45

help: it's not necessary to escape quotes
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 16 Mar 2010 16:41:22 +0100
parents 4eaf1b746499
children 2df044888693
files mercurial/help.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help.py	Tue Mar 16 16:39:17 2010 +0100
+++ b/mercurial/help.py	Tue Mar 16 16:41:22 2010 +0100
@@ -25,7 +25,7 @@
             break
 
     start = line[:3]
-    if start == '\"\"\"' or start == "\'\'\'":
+    if start == '"""' or start == "'''":
         line = line[3:]
         while line:
             if line.rstrip().endswith(start):