Need help with custom string formatter
Robert Latest
boblatest at yahoo.com
Sat Oct 22 10:10:49 EDT 2022
Cameron Simpson wrote:
> Stefan's code implements it's own format_field and falls back to the
> original format_field(). That's standard subclassing practice, and worth
> doing reflexively more of the time - it avoids _knowing_ that
> format_field() just calls format().
>
> So I'd take Stefan's statement above to imply that calling format()
> directly should work.
Yup, makes sense.
More information about the Python-list
mailing list