Merge #13579: teach string.Formatter about 'a'.

Patch by Francisco Martín Brugué.