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

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

I note that
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,

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