Skip to content

DOC: Replace old string formatting syntax in calling of Appender decorators #30933

Closed
@HH-MWB

Description

@HH-MWB

I found calling of @Appender() are using % to format string. I think it might be better to replace with .format based on PEP 3101 and a discussion on Stack Overflow.

#29547 is working on replacing % with f-strings. This change would also help to keep the code more consistent in string template. Be more specific, the template using % to formate will be something like %(XXX)s, but using .format and f-strings will be the same as {XXX}.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions