Format Identifier (#5255)

This commit is contained in:
Micha Reiser
2023-06-21 17:35:37 +02:00
committed by GitHub
parent 6155fd647d
commit e47aa468d5
4 changed files with 33 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ impl FormatRule<AnyFunctionDefinition<'_>, PyFormatContext<'_>> for FormatAnyFun
[
text("def"),
space(),
dynamic_text(name.as_str(), None),
name.format(),
item.arguments().format(),
]
)?;