Would you use operator.methodcaller():
from operator import methodcaller
map(methodcaller('function'), list1)
methodcaller()accepts additional arguments, which are then passed to the called method; methodcaller('foo', 'bar', spam='eggs')(object)is the equivalent object.foo('bar', spam='eggs').
list1 , , , , unbound map , , , :
map(str.lower, list_of_strings)
str.lower - str.
, map() . map() , C. map() zip() , map() Python 3 .
, () , Python, .