[Python-ideas] Have a "j" format option for lists
steve at pearwood.info
Wed May 9 21:02:37 EDT 2018
On Thu, May 10, 2018 at 10:50:13AM +1000, Chris Angelico wrote:
> On Thu, May 10, 2018 at 10:45 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> > I too spent some time scratching my head trying to guess what you expect
> > this "j" format code to do, including the fundamental question "why j
> > and not some other letter?".
> Interestingly, that question didn't faze me in the slightest. But
> maybe my instant and automatic "oh you mean join" coloured my
> expectations elsewhere, and possibly not correctly.
Oh, I didn't think of that! I was thinking i, j, k as integers, and
thinking "i is used, and j is the next letter".
More information about the Python-ideas