mercurial/hook.py
changeset 45942 89a2afe31e82
parent 45737 b3e8d8e4a40d
child 46137 8fa87bce4929
--- a/mercurial/hook.py	Fri Nov 27 17:00:00 2020 -0500
+++ b/mercurial/hook.py	Fri Nov 27 17:03:29 2020 -0500
@@ -30,14 +30,14 @@
 
 
 def pythonhook(ui, repo, htype, hname, funcname, args, throw):
-    '''call python hook. hook is callable object, looked up as
+    """call python hook. hook is callable object, looked up as
     name in python module. if callable returns "true", hook
     fails, else passes. if hook raises exception, treated as
     hook failure. exception propagates if throw is "true".
 
     reason for "true" meaning "hook failed" is so that
     unmodified commands (e.g. mercurial.commands.update) can
-    be run as hooks without wrappers to convert return values.'''
+    be run as hooks without wrappers to convert return values."""
 
     if callable(funcname):
         obj = funcname