mirror of
https://github.com/opencv/opencv.git
synced 2026-07-25 13:23:02 +04:00
Misc. modules/ cont. pt2
Found via `codespell`
This commit is contained in:
@@ -220,7 +220,7 @@ PyObject* pyopencv_from(const T& src);
|
||||
|
||||
enum { ARG_NONE = 0, ARG_MAT = 1, ARG_SCALAR = 2 };
|
||||
|
||||
// special case, when the convertor needs full ArgInfo structure
|
||||
// special case, when the converter needs full ArgInfo structure
|
||||
static bool pyopencv_to(PyObject* o, Mat& m, const ArgInfo info)
|
||||
{
|
||||
bool allowND = true;
|
||||
|
||||
@@ -758,7 +758,7 @@ class CppHeaderParser(object):
|
||||
def find_next_token(self, s, tlist, p=0):
|
||||
"""
|
||||
Finds the next token from the 'tlist' in the input 's', starting from position 'p'.
|
||||
Returns the first occured token and its position, or ("", len(s)) when no token is found
|
||||
Returns the first occurred token and its position, or ("", len(s)) when no token is found
|
||||
"""
|
||||
token = ""
|
||||
tpos = len(s)
|
||||
|
||||
Reference in New Issue
Block a user