Skip to content

Commit 296657e

Browse files
committed
git rebase master
1 parent f6871c1 commit 296657e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/pybind11.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ class module_ : public object {
858858

859859
/// Create a new top-level Python module with the given name and docstring
860860
#if PY_MAJOR_VERSION >= 3
861-
explicit module(const char *name, const char *doc = nullptr, PyModuleDef *def = nullptr) {
861+
explicit module_(const char *name, const char *doc = nullptr, PyModuleDef *def = nullptr) {
862862
if (!def) def = new PyModuleDef();
863863
def = new (def) PyModuleDef { // Placement new (not an allocation).
864864
/* m_base */ PyModuleDef_HEAD_INIT,

0 commit comments

Comments
 (0)