[issue39036] Add center_char attribute to str type

Steven D'Aprano report at bugs.python.org
Fri Dec 13 08:29:00 EST 2019


Steven D'Aprano <steve+python at pearwood.info> added the comment:

What you mean by "center_char" is not clear to me.

How is "bc" a character? It looks like two characters to me.

How is "1" the center char of "12345"? It looks like the leftmost character to me.

Once you have explained what "center_char" does, could you explain how it will be useful?

----------
components: +Library (Lib) -Windows
nosy: +steven.daprano

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


More information about the Python-bugs-list mailing list