Skip to content

Commit 604dbd4

Browse files
Apply suggestions from code review
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
1 parent 36301d0 commit 604dbd4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/tools/extensions/c_annotations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,11 @@ class CorrespondingTypeSlot(SphinxDirective):
300300
"""
301301

302302
has_content = False
303-
option_spec = {}
304303

305304
required_arguments = 1
306305
optional_arguments = 0
307306

308-
def run(self):
307+
def run(self) -> list[nodes.Node]:
309308
name = self.arguments[0]
310309
state = self.env.domaindata["c_annotations"]
311310
stable_abi_data = state["stable_abi_data"]

0 commit comments

Comments
 (0)