move mixin to evaluate directory

This commit is contained in:
Dave Halter
2013-12-27 01:36:05 +01:00
parent c290afbb1a
commit 4ec64a9763
10 changed files with 2 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
class partial():
def __init__(self, func, *args, **keywords):
self.__func = func
self.__args = args
self.__keywords = keywords
def __call__(self, *args, **kwargs):
# I know this doesn't work in Python, but Jedi can this ;-)
return self.__func(*self.__args, *args, **self.keywords, **kwargs)