Is 'everything' a refrence or isn't it?
fredrik at pythonware.com
Sun Jan 15 15:54:49 CET 2006
Bryan Olson wrote:
> >>Python queries objects for their types; it's now a user-visible feature:
> >> >>> 'hello'.__class__
> >> <type 'str'>
> > To get an object's type, use type(x). This has always been a user-
> > visible feature (along with id(x)).
> Commanding that I get it some other way isn't going to change
> that that type is now user-accessible as an attribute of the
so the object in my example has the type "oops" ?
> The story continued.
what story? looks like kookery to me. I recommend moving this thread
More information about the Python-list