mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 06:49:25 +00:00
refactor: module -> module_ with typedef (#2544)
* WIP: module -> module_ without typedef * refactor: allow py::module to work again
This commit is contained in:
@@ -120,7 +120,7 @@ public:
|
||||
throw py::error_already_set();
|
||||
Py_DECREF(result);
|
||||
#else
|
||||
py::module::import("gc").attr("collect")();
|
||||
py::module_::import("gc").attr("collect")();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user