Lines Matching refs:py_object
23 PyString_FromStringAndSize.restype = py_object
29 pythonapi.PyString_FromString.restype = py_object
46 pythonapi.PyInt_FromLong.restype = py_object
51 pythonapi.PyInt_AsLong.argtypes = (py_object,)
85 self.assertEqual(repr(py_object()), "py_object(<NULL>)")
86 self.assertEqual(repr(py_object(42)), "py_object(42)")
87 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)