help: it's not necessary to escape quotes
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 16 Mar 2010 16:41:22 +0100
changeset 10708 61c52fedbd45
parent 10707 4eaf1b746499
child 10711 2df044888693
help: it's not necessary to escape quotes
mercurial/help.py
--- 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):