[issue12499] textwrap.wrap: add control for fonts with different character widths

Serhiy Storchaka report at bugs.python.org
Wed Nov 12 21:52:31 CET 2014


Serhiy Storchaka added the comment:

Both approaches can be combined. It could be a regular overridable method, and it could be overridded for an instance if corresponding argument is specified. See the default method and parameter of JSON encoder.

I slightly hesitate about the name. Is "width_func" the best of names?

----------
nosy: +serhiy.storchaka
versions: +Python 3.5 -Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12499>
_______________________________________


More information about the Python-bugs-list mailing list