8000 gh-97908: CAPI docs: Remove repeated struct names from member docs by encukou · Pull Request #100054 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-97908: CAPI docs: Remove repeated struct names from member docs #100054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 29, 2023
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
0