Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
partial(func, *args, **keywords) - new function with partial application
of the given arguments and keywords.

src/x/o/xoutil-1.5.4/xoutil/annotate.py   xoutil(Download)
 
from xoutil.six import string_types as _str_base
from xoutil.functools import partial
_ast_parse = partial(_ast_parse, filename="<annotations>", mode="eval")
 

src/x/o/xoutil-1.5.4/tests/test_decorators.py   xoutil(Download)
 
        '''
        from xoutil.functools import partial
        @decorator
        def ditmoi(target, *args, **kwargs):
            return partial(target, *args, **kwargs)