File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ cmake --build build -j4
93
93
94
94
Tips:
95
95
96
- * You can use ` virtualenv ` (faster, from PyPI) instead of ` venv `
96
+ * You can use ` virtualenv ` (faster, from PyPI) instead of ` venv ` .
97
97
* You can select any name for your environment folder; if it contains "env" it
98
98
will be ignored by git.
99
99
* If you don't have CMake 3.14+, just add "cmake" to the pip install command.
Original file line number Diff line number Diff line change @@ -1213,7 +1213,7 @@ class module_ : public object {
1213
1213
PyModule_AddObject (ptr (), name, obj.inc_ref ().ptr () /* steals a reference */ );
1214
1214
}
1215
1215
1216
- using module_def = PyModuleDef;
1216
+ using module_def = PyModuleDef; // TODO: Can this be removed (it was needed only for Python 2)?
1217
1217
1218
1218
/* * \rst
1219
1219
Create a new top-level module that can be used as the main module of a C extension.
@@ -1241,7 +1241,7 @@ class module_ : public object {
1241
1241
pybind11_fail (" Internal error in module_::create_extension_module()" );
1242
1242
}
1243
1243
// TODO: Should be reinterpret_steal for Python 3, but Python also steals it again when
1244
- // returned from PyInit_...
1244
+ // returned from PyInit_...
1245
1245
// For Python 2, reinterpret_borrow was correct.
1246
1246
return reinterpret_borrow<module_>(m);
1247
1247
}
You can’t perform that action at this time.
0 commit comments