Message201684
See http://www.python.org/dev/peps/pep-0294/ for some background on this. The unexpected thing is actually that the types module still exists at all in Python3 :)
That said, its documentation could, indeed, use some improvement to address this kind of question.
Searching the python-dev email list for 'NoneType removal types module" turns up some interesting posts, back in the 2.3 days...basically, type(None) is the One True Way to get NoneType :) |
|
Date |
User |
Action |
Args |
2013-10-29 22:07:06 | r.david.murray | set | recipients:
+ r.david.murray, christian.heimes, docs@python, mpb |
2013-10-29 22:07:06 | r.david.murray | set | messageid: <1383084426.72.0.906406588747.issue19438@psf.upfronthosting.co.za> |
2013-10-29 22:07:06 | r.david.murray | link | issue19438 messages |
2013-10-29 22:07:06 | r.david.murray | create | |
|