hghave: add docstring for check
authortimeless <timeless@mozdev.org>
Mon, 04 Apr 2016 02:17:36 +0000
changeset 28757 93bf61913f33
parent 28756 45954a251a40
child 28758 44e076a12bd3
hghave: add docstring for check
tests/hghave.py
--- a/tests/hghave.py	Fri Apr 01 13:19:58 2016 +0000
+++ b/tests/hghave.py	Mon Apr 04 02:17:36 2016 +0000
@@ -17,6 +17,7 @@
 }
 
 def check(name, desc):
+    """Registers a check function for a feature."""
     def decorator(func):
         checks[name] = (func, desc)
         return func