Fixed typo
Allow passing subroutine/function instead of i or tag.

If callable is passed, it will be called (without arguments) and
the value will be used instead.
Updated to mention the Python API
Updated with info about passing callable