• Guido van Rossum's avatar
    PyObject_Dir(): · 8dbd3d8c
    Guido van Rossum yazdı
      - 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.
    8dbd3d8c
object.c 43.2 KB