mirror of
https://github.com/exaloop/codon.git
synced 2025-06-03 15:03:52 +08:00
Remove unused field
This commit is contained in:
parent
f98018cf80
commit
86fe7e0be2
@ -115,7 +115,6 @@ struct PyType {
|
||||
Func *iter = nullptr;
|
||||
Func *iternext = nullptr;
|
||||
Func *del = nullptr;
|
||||
Func *new_ = nullptr;
|
||||
Func *init = nullptr;
|
||||
std::vector<PyFunction> methods;
|
||||
std::vector<PyMember> members;
|
||||
|
@ -550,8 +550,6 @@ void Cache::populatePythonModule() {
|
||||
py.iter = f;
|
||||
} else if (n == "__del__") {
|
||||
py.del = f;
|
||||
} else if (n == "__new__") {
|
||||
py.new_ = f;
|
||||
} else if (n == "__init__") {
|
||||
py.init = f;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user