For those of you still scratching your heads, there's a version issue here
as well.

Since I teach 3.x for a living, these little difference are in my face all
the time.

More from FaceBook:

Steve Holden:

Zip() not a function?

Where on Earth did you get that strange story from?

It may return an iterator, but that doesn't mean it's not a function ...

Me:

I just mean it's neither of <class 'function'> nor <class
'builtin_function_or_method'>.
zip is now a type, like int, str, list, tuple etc. -- none of which are
functions either.

Talking Python 3. You're likely thinking of 2.7:

>>> type(zip) # 3.2
<class 'type'>
>>> type(zip) # 2.7
<type 'builtin_function_or_method'>


Also, I've clued our peers on the math board (listserv) for those wishing
to understand our "namespaces" better.
Same thread as before.



> http://mathforum.org/kb/thread.jspa?threadID=2592483
>
> Kirby
>
>
_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to