Can global variable be passed into Python function?

Ben Finney ben+python at benfinney.id.au
Sat Mar 1 17:36:07 EST 2014


Grant Edwards <invalid at invalid.invalid> writes:

> On 2014-02-28, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>
> > http://c2.com/cgi/wiki?SwitchStatementsSmell
>
> So lack of a switch state is an attempt […]

Since when is the absence of action an “attempt” to do anything?

You're assuming the not-doing of something must have a purpose. That
assumption doesn't seem justified.

-- 
 \     “You are welcome to visit the cemetery where famous Russian and |
  `\    Soviet composers, artists, and writers are buried daily except |
_o__)                   Thursday.” —Russian orthodox monastery, Moscow |
Ben Finney




More information about the Python-list mailing list