Skip to content
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion dessert/rewrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def run(self, mod: ast.Module) -> None:
and isinstance(item.value, ast.Constant)
and isinstance(item.value.value, str)
):
doc = item.value.s
doc = item.value.value
if self.is_rewrite_disabled(doc):
return
expect_docstring = False
Expand Down