Przekazywanie funkcji wokół Pythona
Python treats everything as an object, including functions; therefore, functions can be used just like any other object, and can be passed around.
Helgurd