We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The default padding side on the new formatting style is different depending on whether you are formatting a number or a string.
The example on build 516238e0e82853567ca7ba20adcbd634b8b8458a uses a string, and gets the default left alignment.
Trying the same with an int results in the opposite:
int
'{:10}'.format(1) ' 1'
This information may be implied later in the docs when talking about number formatting, but I felt a heads up could be of interest.
The text was updated successfully, but these errors were encountered:
Mention default alignment
02fea26
Inspired by ulope/pyformat.info#40
No branches or pull requests
The default padding side on the new formatting style is different depending on whether you are formatting a number or a string.
The example on build 516238e0e82853567ca7ba20adcbd634b8b8458a uses a string, and gets the default left alignment.
Trying the same with an
int
results in the opposite:This information may be implied later in the docs when talking about number formatting, but I felt a heads up could be of interest.
The text was updated successfully, but these errors were encountered: