bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib-tool.py: Use [] instead of list() to initialize empty lists.


From: Collin Funk
Subject: Re: gnulib-tool.py: Use [] instead of list() to initialize empty lists.
Date: Tue, 2 Apr 2024 12:23:27 -0700
User-agent: Mozilla Thunderbird

On 4/2/24 12:21 PM, Bruno Haible wrote:
> So that we can grep for 'list(' to find where non-empty lists are getting
> constructed (conversion, clone). Nice. Applied.

Yes. But be careful because we have 'modulesystem.list()'. I almost
changed that to 'modulesystem.[]'. :)

Collin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]