Skip to content

Commit 9faf114

Browse files
authored
C domain: Fix namespace-pop context (#11935)
1 parent 41ab0f9 commit 9faf114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/domains/c/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def run(self) -> list[Node]:
374374
symbol = self.env.domaindata['c']['root_symbol']
375375
self.env.temp_data['c:parent_symbol'] = symbol
376376
self.env.temp_data['c:namespace_stack'] = stack
377-
self.env.ref_context['cp:parent_key'] = symbol.get_lookup_key()
377+
self.env.ref_context['c:parent_key'] = symbol.get_lookup_key()
378378
return []
379379

380380

0 commit comments

Comments
 (0)