2010-07-22 24 views

回答

2

我想你在找什麼是functools.partial

import functools 

myload=functools.partial(yaml.load,Loader=yaml.CLoader) 
myload(f) 
相關問題