parameter name conflict. How to solve?

Delaney, Timothy C (Timothy) tdelaney at
Tue Mar 8 08:11:22 CET 2005

Steven Bethard wrote:

>> If you ask: why do you choose these names? The answer is: they need
>> to be conformable with other functions, parameter names.

Is this a style guide thing?

>> I have a function that pretty much like:
>> def output(output=''):
>>   print output
>> and now in another function, I need to call output function, with
>> again keyword parameter output 
>> def func(output=''):
>>   output(output=output)

Why not just:

def func(output_param=''):


Tim Delaney

More information about the Python-list mailing list