mercurial/exthelper.py
changeset 41049 021496277392
parent 41046 f5ec93f69171
child 41056 41cd64a81dd9
--- 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
         """