| commit | 8dbd3d8c50e4f4c96f2466ad18ca33b2af4fe240 | [log] [tgz] |
|---|---|---|
| author | Guido van Rossum <guido@python.org> | Mon Sep 10 18:27:43 2001 +0000 |
| committer | Guido van Rossum <guido@python.org> | Mon Sep 10 18:27:43 2001 +0000 |
| tree | 2aadc1e42a917785d86d21538dd10184dd697e81 | |
| parent | b8755093109692d1708b87268c80a65b473e798e [diff] |
PyObject_Dir():
- use PyModule_Check() instead of PyObject_TypeCheck(), now we can.
- don't assert that the __dict__ gotten out of a module is always
a dictionary; check its type, and raise an exception if it's not.