os.join --

Tim Peters tim.one at home.com
Sun May 13 10:22:47 CEST 2001


[Matthew Turk]
> Well, your code works just fine -- what I was referring to was:
>
> list.append(A, B, C, D)
>
> was deprecated, in favor of, I think, a tuple.

If you read the docs, list.append() always required a single argument.  That
it accepted a whole bunch of arguments was a bug in the implementation.  The
bug got fixed.

> os.join, however, still accepts os.join(A,B,C,D) and doesn't accept
> os.join((A,B,C,D))

That also works as documented <wink>.





More information about the Python-list mailing list