Skip to content

Commit 9910e5c

Browse files
Apply refurb/ruff rule FURB111 (#11837)
1 parent 4303c6d commit 9910e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/util/cfamily.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def _stringify(self, transform: StringifyTransform) -> str:
107107
raise NotImplementedError(repr(self))
108108

109109
def __str__(self) -> str:
110-
return self._stringify(lambda ast: str(ast))
110+
return self._stringify(str)
111111

112112
def get_display_string(self) -> str:
113113
return self._stringify(lambda ast: ast.get_display_string())

0 commit comments

Comments
 (0)