mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 22:14:17 +00:00
Commenting a couple of utilities
This commit is contained in:
@@ -133,8 +133,10 @@ def must_ignore(paths, ignores, debug=False):
|
|||||||
|
|
||||||
|
|
||||||
def is_dict(obj):
|
def is_dict(obj):
|
||||||
|
"""Return true if obj is dict."""
|
||||||
return isinstance(obj, dict)
|
return isinstance(obj, dict)
|
||||||
|
|
||||||
|
|
||||||
def is_not_magic(name):
|
def is_not_magic(name):
|
||||||
|
"""Return true if name is not a magic method name."""
|
||||||
return (name[0:2], name[-2:]) != ('__', '__')
|
return (name[0:2], name[-2:]) != ('__', '__')
|
||||||
|
|||||||
Reference in New Issue
Block a user