Created
October 18, 2013 05:42
-
-
Save msbanik/7036976 to your computer and use it in GitHub Desktop.
python string format specifier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
format_spec ::= [[fill]align][sign][#][0][width][,][.precision][type] | |
fill ::= <a character other than '{' or '}'> | |
align ::= "<" | ">" | "=" | "^" | |
sign ::= "+" | "-" | " " | |
width ::= integer | |
precision ::= integer | |
type ::= "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment