A Python 3000 Question
Carl Banks
pavlovevidence at gmail.com
Thu Nov 1 01:48:12 EDT 2007
On Oct 31, 6:29 pm, Steven D'Aprano <st... at REMOVE-THIS-
cybersource.com.au> wrote:
> On Wed, 31 Oct 2007 07:59:58 -0700, Carl Banks wrote:
> > Python considers len to be an operator for all intents and purposes.
> > Python chose to spell this operator like a regular function, but it
> > could easily have given a special syntax to the length operation (for
> > instance, $#x).
>
> I hope you're not serious that $# would make a good operator.
If you happen to know where I borrowed it from, it would be pretty
evident that I wasn't being serious.
Carl Banks
More information about the Python-list
mailing list