>>> import classes as c
>>> a = 'Hello,world!'
>>> c.Pointer(id(a))
Traceback (most recent call last):
File "<pyshell#56>", line 1, in <module>
p = c.Pointer(id(a))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\classes.py", line 158, in __init__
self.data = self.read(id)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\classes.py", line 172, in read
return c._string_at(self.id, length)
OSError: exception: access violation reading 0x0000000002A80000
>>> 0x0000000002A80000
44564480
>>> id(a)
44148016
传参44148016,为什么string_at实际接受到44564480?
PS:classes是我写的模块