1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-28 14:53:03 +04:00

Merge branch 4.x

This commit is contained in:
OpenCV Developers
2022-04-23 21:42:17 +00:00
324 changed files with 34982 additions and 9803 deletions
+1 -1
View File
@@ -1013,7 +1013,7 @@ class CppHeaderParser(object):
docstring = ""
if stmt_type == "namespace":
chunks = [block[1] for block in self.block_stack if block[0] == 'namespace'] + [name]
self.namespaces.add('.'.join(chunks))
self.namespaces.add('.'.join(filter(lambda c: len(c)> 0, chunks)))
else:
stmt_type, name, parse_flag = "block", "", False