Merge branch 4.x

This commit is contained in:
OpenCV Developers committed 2022-04-23 22:07:14 +00:00
commit 0fbd58bef9
324 files changed
+34981 -9802

No files matched your search

+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