Re: functions without parentheses
- From: Steven Bethard <steven.bethard@xxxxxxxxx>
- Date: Thu, 28 Jul 2005 09:25:33 -0600
Jerry He wrote:
def examine(str): ..... .....
Is there some way to define it so that I can call it like
examine "string" instead of examine("string")?
What do you want to happen when someone types:
examine
??? Or better yet, what if you do something like:
map(examine, list_of_strs)
??? Should examine be called with no arguments? Or should it be passed as a function object to map?
STeVe .
- Follow-Ups:
- Re: functions without parentheses
- From: gene tani
- Re: functions without parentheses
- References:
- functions without parentheses
- From: Jerry He
- functions without parentheses
- Prev by Date: Re: Freeze
- Next by Date: Re: functions without parentheses
- Previous by thread: Re: functions without parentheses
- Next by thread: Re: functions without parentheses
- Index(es):
Relevant Pages
|