move mixin to compiled/fake to structure it better

This commit is contained in:
Dave Halter
2014-01-10 16:38:13 +01:00
parent 8854206f2a
commit 400b0a4aa7
8 changed files with 0 additions and 0 deletions
@@ -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)