From c185305aedb013f06dec35ac5adc633c972a10a0 Mon Sep 17 00:00:00 2001 From: Davide Laezza Date: Mon, 22 Apr 2019 15:21:51 +0200 Subject: [PATCH] Commenting a couple of utilities --- dotdrop/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotdrop/utils.py b/dotdrop/utils.py index 81404e8..e24099f 100644 --- a/dotdrop/utils.py +++ b/dotdrop/utils.py @@ -133,8 +133,10 @@ def must_ignore(paths, ignores, debug=False): def is_dict(obj): + """Return true if obj is dict.""" return isinstance(obj, dict) def is_not_magic(name): + """Return true if name is not a magic method name.""" return (name[0:2], name[-2:]) != ('__', '__')