We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a36f89d commit ebf126aCopy full SHA for ebf126a
.cross_sync/transformers.py
@@ -75,7 +75,7 @@ def visit_FunctionDef(self, node):
75
node.body[0].value, ast.Str
76
):
77
for key_word, replacement in self.replacements.items():
78
- docstring = docstring.replace(f" {key_word} ", f" {replacement} ")
+ docstring = docstring.replace(key_word, replacement)
79
node.body[0].value.s = docstring
80
return self.generic_visit(node)
81
0 commit comments