mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 03:50:16 +00:00
...
This commit is contained in:
parent
2ef181f0f4
commit
4c533b03cb
@ -65,8 +65,8 @@ static void c11_sbuf__write_type_path(c11_sbuf* path_buf, py_Type type) {
|
||||
c11_sbuf__write_cstr(path_buf, py_name2str(ti->name));
|
||||
return;
|
||||
}
|
||||
const char* mod_name = py_tostr(py_getdict(&ti->module, __name__));
|
||||
c11_sbuf__write_cstr(path_buf, mod_name);
|
||||
const char* mod_path = py_tostr(py_getdict(&ti->module, __path__));
|
||||
c11_sbuf__write_cstr(path_buf, mod_path);
|
||||
c11_sbuf__write_char(path_buf, '.');
|
||||
c11_sbuf__write_cstr(path_buf, py_name2str(ti->name));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user