Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An other option if you use map is `operator.methodcaller`, which is also slightly closer in semantics to underscore's invoke (function name specified by string, ability to specify argument to apply to the method, duck-typed).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: