[sync] + fn.constant

This commit is contained in:
tmshv committed 2016-09-14 02:10:22 +03:00
1 parent 5e34a0aad3
commit 7300a49fc4
1 file changed
+4
+4
View File
@@ -6,6 +6,10 @@ from glob import glob
import bson.json_util
def constant(value):
return lambda _: value
def combine(items):
if len(items) == 0:
return []