• Eric Smith's avatar
    Changed some ValueError's to KeyError and IndexError. · 11529195
    Eric Smith yazdı
    Corrected code for invalid conversion specifier.
    Added tests to verify.
    
    Modified string.Formatter to correctly expand format_spec's,
    and added a limit to recursion depth.  Added _vformat()
    method to support both of these.
    11529195
string.py 10.4 KB