[issue36390] IDLE: Refactor formatting methods from editor

Terry J. Reedy report at bugs.python.org
Mon Jul 1 23:48:28 EDT 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I think get_indent(line) is much clearer than classifyws(s)???.  I propose to merge PR 12481 first, after review, with tests, and then include name change with rewrite in PR 14500.  Proposed docstring:
"Return line indent as # chars and effective # of spaces."

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36390>
_______________________________________


More information about the Python-bugs-list mailing list