Skip to content

Commit 3315078

Browse files
committed
Appease a linter
1 parent 22bf966 commit 3315078

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/tools/extensions/c_annotations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def add_annotations(app: Sphinx, doctree: nodes.document) -> None:
156156

157157
def _stable_abi_annotation(
158158
record: StableABIEntry,
159-
is_corresponding_slot: bool=False,
159+
is_corresponding_slot: bool = False,
160160
) -> nodes.emphasis:
161161
"""Create the Stable ABI annotation.
162162
@@ -314,8 +314,8 @@ def run(self):
314314
except LookupError:
315315
raise LookupError(
316316
f"{name} is not part of stable ABI. "
317-
+ f"Document it as `c:macro::` rather than "
318-
+ f"`corresponding-type-slot::`."
317+
+ "Document it as `c:macro::` rather than "
318+
+ "`corresponding-type-slot::`."
319319
)
320320

321321
annotation = _stable_abi_annotation(record, is_corresponding_slot=True)

0 commit comments

Comments
 (0)