parameter name conflict. How to solve?

Bo Peng bpeng at rice.edu
Tue Mar 8 10:18:19 EST 2005


Delaney, Timothy C (Timothy) wrote:

> Is this a style guide thing?
> 
> Why not just:
> 
> def func(output_param=''):
>     output(output=output_param)
> 

This is exactly the problem. There are a bunch of other functions that 
use output='' parameter. Changing parameter name for this single 
function may cause confusion.

Bo



More information about the Python-list mailing list