fix: rename pybind11::module to pybind11::module_ (#2489)

Support C++20. For backwards compatibility, we provide an alias for the old name.
This change is necessary to easily avoid errors when a compiler thinks
`module` is used as a keyword.
This commit is contained in:
Boris Staletic
2020-09-16 23:15:42 +02:00
committed by GitHub
parent e37921d761
commit d3c999c774
4 changed files with 19 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ With reference counting
Convenience classes for specific Python types
=============================================
.. doxygenclass:: module
.. doxygenclass:: module_
:members:
.. doxygengroup:: pytypes