changeset 28757:93bf61913f33

hghave: add docstring for check
author timeless <timeless@mozdev.org>
date Mon, 04 Apr 2016 02:17:36 +0000
parents 45954a251a40
children 44e076a12bd3
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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