Skip to content

Commit dbbe9d1

Browse files
committed
Reapply minor fix that accidentally got lost in transfer from PR #3964
1 parent 4dc4a4f commit dbbe9d1

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
@@ -1177,7 +1177,7 @@ class module_ : public object {
11771177
if (this_name == nullptr) {
11781178
throw error_already_set();
11791179
}
1180-
std::string full_name = std::string(this_name) + "." + name;
1180+
std::string full_name = std::string(this_name) + '.' + name;
11811181
handle submodule = PyImport_AddModule(full_name.c_str());
11821182
if (!submodule) {
11831183
throw error_already_set();

0 commit comments

Comments
 (0)