On Sat, Nov 10, 2012 at 1:52 PM, Paul Rubin <[email protected]> wrote:
> [email protected] writes:
>> Is there a simpler way to modify all arguments in a function before
>> using the arguments?
>
> Why do you want to do that?
>

Contrived example:

def send_email(from, to, subj, body, whatever, other, headers, you, like):
    # Okay, now translate all those into the appropriate encoding and
with special characters escaped
    # We need to translate each one separately so that, for instance,
a newline in the subject won't let you create additional headers

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to