mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
...
This commit is contained in:
parent
42db5877a2
commit
54b45a48d4
@ -129,7 +129,7 @@ static bool locals__contains__(int argc, py_Ref argv) {
|
||||
}
|
||||
|
||||
py_Type pk_locals__register() {
|
||||
py_Type type = pk_newtype("locals", tp_locals, NULL, NULL, false, true);
|
||||
py_Type type = pk_newtype("locals", tp_object, NULL, NULL, false, true);
|
||||
|
||||
py_bindmagic(type, __getitem__, locals__getitem__);
|
||||
py_bindmagic(type, __setitem__, locals__setitem__);
|
||||
|
Loading…
x
Reference in New Issue
Block a user