mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 12:00:18 +00:00
fix pybind11
This commit is contained in:
parent
19d0cfd4fd
commit
46f9e4ed4f
@ -31,7 +31,7 @@ public:
|
||||
info.name = name;
|
||||
|
||||
py_newfunction(
|
||||
py_tpgetmagic(this->index(), py_MagicNames::__new__),
|
||||
py_tpgetmagic(this->index(), __new__),
|
||||
"__new__(type, *args, **kwargs)",
|
||||
[](int, py_Ref stack) {
|
||||
auto cls = py_offset(stack, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user