changeset 41052:021496277392

exthelper: correct a documentation typo
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 23 Dec 2018 01:05:20 -0500
parents 84d61fdcefa5
children 6faaf3a1c6ec
files mercurial/exthelper.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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
         """