Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove hack to find repeated struct names
  • Loading branch information
encukou committed Dec 6, 2022
commit 26e095e04b4cd5795330c168e49a866e9ee7027d
4 changes: 0 additions & 4 deletions Doc/tools/extensions/c_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ def add_annotations(self, app, doctree):
if name.startswith("c."):
name = name[2:]

components = name.split('.')
if len(set(components)) != len(components):
raise ValueError(f'repeated name components: {name}')

objtype = par['objtype']

# Stable ABI annotation. These have two forms:
Expand Down