commit | 1d44c41b0cc183603b31ac943ef452456bef089f | [log] [tgz] |
---|---|---|
author | Eric V. Smith <eric@trueblade.com> | Wed Sep 23 07:49:00 2015 -0400 |
committer | Eric V. Smith <eric@trueblade.com> | Wed Sep 23 07:49:00 2015 -0400 |
tree | 7b8dcbf17ff2c20b6e9adc7c581305668ef9ff70 | |
parent | 3a1a8d04244cb5d98e8bbeaff131a705f84b8521 [diff] |
Move f-string compilation of the expression earlier, before the conversion character and format_spec are checked. This allows for error messages that more closely match what a user would expect.