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

string formatting - line 112 #7881

Merged
merged 1 commit into from Sep 24, 2018
Merged

Conversation

Abdur-rahmaanJ
Copy link
Contributor

% is used to cast objects, %s to string etc. now, if int or float, the corresponding formatting (like %d) should be used instead of converting via str() then passing via %s (double job as the purpose of formatting is precisely to allow even numbers)

now .format() is supported since py2.7 . it is more flexible and less dense

% is used to cast objects, %s to string etc. now, if int or float, the corresponding formatting (like %d) should be used instead of converting via str() then passing via  %s (double job as the purpose of formatting is precisely to allow even numbers)

now .format() is supported since py2.7 . it is more flexible and less dense
@clefebvre clefebvre merged commit ffbeeaf into linuxmint:master Sep 24, 2018
Curly060 pushed a commit to Curly060/Cinnamon that referenced this pull request Jan 2, 2019
% is used to cast objects, %s to string etc. now, if int or float, the corresponding formatting (like %d) should be used instead of converting via str() then passing via  %s (double job as the purpose of formatting is precisely to allow even numbers)

now .format() is supported since py2.7 . it is more flexible and less dense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants