exthelper: correct a documentation typo
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 23 Dec 2018 01:05:20 -0500
changeset 41049 021496277392
parent 41048 84d61fdcefa5
child 41050 6faaf3a1c6ec
exthelper: correct a documentation typo
mercurial/exthelper.py
--- 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
         """