inclusive-lower-bound, exclusive-upper-bound (was Re: Range Operation pre-PEP)
Darren New
dnew at san.rr.com
Sun May 13 18:48:07 EDT 2001
> > (Though C uses pointers for arrays and strings, which is hideous.)
> So, Python's implicit use of pointers everywhere is hideous?
Python uses references, not pointers. If you can't do arithmetic on
them, they're not pointers.
A C string is a pointer to the first character. A python string is a
reference to the entire string. That makes it much less hideous. ;-)
--
Darren New / Senior MTS & Free Radical / Invisible Worlds Inc.
San Diego, CA, USA (PST). Cryptokeys on demand.
This is top-quality raw fish, the Rolls-Rice of Sushi!
More information about the Python-list
mailing list