'two' is a so called constant or literal value .. (of that function).

Why not attach it, as a const value/object, to the function itself ? So that a 
new string object has not to be created each time the function is called. 
Because anyway strings are immutable. So what would be the point to recreate 
such object every time the function is called ?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to