Skip to content

Commit 26e095e

Browse files
committed
Remove hack to find repeated struct names
1 parent 14c2ae7 commit 26e095e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Doc/tools/extensions/c_annotations.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ def add_annotations(self, app, doctree):
9696
if name.startswith("c."):
9797
name = name[2:]
9898

99-
components = name.split('.')
100-
if len(set(components)) != len(components):
101-
raise ValueError(f'repeated name components: {name}')
102-
10399
objtype = par['objtype']
104100

105101
# Stable ABI annotation. These have two forms:

0 commit comments

Comments
 (0)