6.7.10. ret_v

ret_v(v)[source]

Returns a function that return the argument v.

Parameters:v (object) – Object to be returned.
Returns:Function that return the argument v.
Return type:function