On 21.08.20 01:54, Nir Soffer wrote:
> Accept variable number of names instead of a sequence:
>
> with FilePaths("a", "b", "c") as (a, b, c):
>
> The disadvantage is that base_dir must be used as kwarg:
>
> with FilePaths("a", "b", base_dir=soc_dir) as (sock1, sock2):
>
> But this is mo
Accept variable number of names instead of a sequence:
with FilePaths("a", "b", "c") as (a, b, c):
The disadvantage is that base_dir must be used as kwarg:
with FilePaths("a", "b", base_dir=soc_dir) as (sock1, sock2):
But this is more clear and calling optional argument as positional
ar