IronLanguages / main

Work for this repo has moved to https://github.com/IronLanguages/ironpython2
1.16k stars 347 forks source link

Fix #1629 #1648

Closed slide closed 7 years ago

slide commented 7 years ago

Added an IsEmpty member to StringFormatSpec, if the format spec is empty then __repr__ is called, otherwise the return from the StringFormatSpec's aligning function is returned. This follows the CPython way of doing things.