Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more modern string formatting internally within param #53

Open
ceball opened this issue May 3, 2014 · 1 comment
Open

Use more modern string formatting internally within param #53

ceball opened this issue May 3, 2014 · 1 comment
Labels
"internal improvement" i.e. few people will care? (though could enable some other important thing)
Milestone

Comments

@ceball
Copy link
Member

ceball commented May 3, 2014

We've been using printf-style formatting (https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting), but python now offers nicer ways to format strings.

Note that we can't use the following, because it's not available in 2:

Changed in version 3.1: The positional argument specifiers can be omitted, so '{} {}' is equivalent to '{0} {1}'

@ceball ceball added this to the Someday milestone May 3, 2014
@ceball ceball added the enh label May 9, 2014
@ceball ceball added "internal improvement" i.e. few people will care? (though could enable some other important thing) and removed type-feature Feature request labels Apr 13, 2020
@kcpevey
Copy link

kcpevey commented Jul 6, 2020

Is this referring to the internals of param? If so, yes, it would be great to update that.

@ceball ceball changed the title Use more modern string formatting Use more modern string formatting internally within param Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
"internal improvement" i.e. few people will care? (though could enable some other important thing)
Projects
None yet
Development

No branches or pull requests

2 participants