Fixed local function definitions in Python 3

Local function definitions work differently in Python 3. After the
code, the name of the function is loaded, this increases the distance
between LOAD_CONST (code) and MAKE_FUNCTION by 1