diff mercurial/exthelper.py @ 41049:021496277392

exthelper: correct a documentation typo
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 23 Dec 2018 01:05:20 -0500
parents f5ec93f69171
children 41cd64a81dd9
line wrap: on
line diff
--- a/mercurial/exthelper.py	Tue Nov 27 22:10:07 2018 -0500
+++ b/mercurial/exthelper.py	Sun Dec 23 01:05:20 2018 -0500
@@ -257,7 +257,7 @@
 
         example::
 
-            @eh.function(context.changectx, 'babar')
+            @eh.addattr(context.changectx, 'babar')
             def babar(ctx):
                 return 'babar' in ctx.description
         """