[Python-Dev] Documentation: type-vs.-function

David Abrahams dave@boost-consulting.com
Sun, 29 Sep 2002 20:36:58 -0400


I note that
http://www.python.org/dev/doc/devel/lib/built-in-funcs.html#l2h-14
describes dict as a built-in function, whereas we all know that Guido's
cool 2.2 changes made it into a type

  >>> dict
  <type 'dict'>

Does this distinction matter? A little, I think. Calling it a function
makes it sound like we're living in the past. Same goes for str, type,
list, tuple, et. al. I realize that the type (especially <type 'type'>)
acts like a function under many circumstances...

un-important-ly y'rs,
dave

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave@boost-consulting.com * http://www.boost-consulting.com