Skip to content

Commit 68524f5

Browse files
committed
git rebase master
1 parent 1f41e72 commit 68524f5

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
@@ -863,7 +863,7 @@ class module_ : public object {
863863

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

0 commit comments

Comments
 (0)