scipy/scipy — comment on commit 1c57ad6d75fd8c66c8c44b9da7f2a0fc6e187a06
File: scipy/optimize/tnc.py line 242
By bransfor:

Does changing this to

f = func(x, *args)[0]
g = func(x, *args)[1]

mean that func must be evaluated twice to get both f and g? The syntax f, g = func(x, *args) requires one evaluation.