]> granicus.if.org Git - python/commit
SF bug #652888: bad documentation for the "type" builtin
authorRaymond Hettinger <python@rcn.com>
Fri, 10 Jan 2003 09:33:08 +0000 (09:33 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 10 Jan 2003 09:33:08 +0000 (09:33 +0000)
commit6fe1299b098bc49d488ca1dd06f6557e62f76056
treec25eff52b4af1cb749848b22f0d3aacd36c44e5d
parent114713d19451e893dc7dabea9b96d396baf7ecaf
SF bug #652888: bad documentation for the "type" builtin

Clarified that not all types are included.  The OP was looking for a
StaticMethodType.

Also, added a note and example suggesting the use of int,str, etc.
instead of IntType, StrType, etc.

Renamed the crummy variable name in the example from "list" to "mylist".
Doc/lib/libtypes.tex