mirror of
https://github.com/opencv/opencv.git
synced 2026-07-25 21:33:04 +04:00
Merge pull request #28309 from raimbekovm:fix-typos-batch6
docs: fix typos in documentation and code comments #28309 ## Summary This PR fixes 10 spelling errors in documentation and code comments across 7 files. ## Changes - `suppport` → `support` (2 occurrences in test_video_io.cpp) - `compability` → `compatibility` (2 occurrences in face.hpp) - `successfull` → `successful` (1 occurrence in cv2.cpp) - `accomodate` → `accommodate` (2 occurrences in calib3d.hpp and test_camera.cpp) - `minimun` → `minimum` (1 occurrence in aruco_detector.hpp) - `maximun` → `maximum` (1 occurrence in aruco_detector.hpp) - `orignal` → `original` (1 occurrence in aruco_detector.cpp) ## Test plan - [x] No API changes - [x] Documentation-only changes - [x] Code compiles without errors
This commit is contained in:
@@ -226,7 +226,7 @@ static PyObject* createSubmodule(PyObject* parent_module, const std::string& nam
|
||||
}
|
||||
/// Populates parent module dictionary. Submodule lifetime should be managed
|
||||
/// by the global modules dictionary and parent module dictionary, so Py_DECREF after
|
||||
/// successfull call to the `PyDict_SetItemString` is redundant.
|
||||
/// successful call to the `PyDict_SetItemString` is redundant.
|
||||
if (PyDict_SetItemString(parent_module_dict, submodule_name.c_str(), submodule) < 0) {
|
||||
return PyErr_Format(PyExc_ImportError,
|
||||
"Can't register a submodule '%s' (full name: '%s')",
|
||||
|
||||
Reference in New Issue
Block a user