diff mercurial/registrar.py @ 30342:318a24b52eeb

spelling: fixes of non-dictionary words
author Mads Kiilerich <madski@unity3d.com>
date Mon, 17 Oct 2016 23:16:55 +0200
parents 6ffb7e0249f4
children b52e8a4f4c0f
line wrap: on
line diff
--- a/mercurial/registrar.py	Thu Nov 03 17:31:14 2016 -0700
+++ b/mercurial/registrar.py	Mon Oct 17 23:16:55 2016 +0200
@@ -13,7 +13,7 @@
 )
 
 class _funcregistrarbase(object):
-    """Base of decorator to register a fuction for specific purpose
+    """Base of decorator to register a function for specific purpose
 
     This decorator stores decorated functions into own dict 'table'.
 
@@ -177,7 +177,7 @@
 
     Usage::
 
-        templaetkeyword = registrar.templatekeyword()
+        templatekeyword = registrar.templatekeyword()
 
         @templatekeyword('mykeyword')
         def mykeywordfunc(repo, ctx, templ, cache, revcache, **args):