I hate you all

Ian Kelly ian.g.kelly at gmail.com
Fri Apr 5 19:00:23 EDT 2013


On Fri, Apr 5, 2013 at 4:42 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> Python 2 resolved this ambiguity by assuming that a hard tab was
> simply equivalent to four or eight spaces (I don't remember which).

In fact, neither is correct.  Per the docs:

    ...tabs are replaced (from left to right) by one to eight spaces
such that the total number of characters up to and including the
replacement is a multiple of eight...



More information about the Python-list mailing list