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: Bruno Haible
Subject: Re: gnulib-tool.py: Use [] instead of list() to initialize empty lists.
Date: Tue, 02 Apr 2024 21:21:26 +0200

Collin Funk wrote:
> This patch just converts:
> 
>     var = list()
> 
> to
> 
>     var = []
> 
> everywhere.

So that we can grep for 'list(' to find where non-empty lists are getting
constructed (conversion, clone). Nice. Applied.

Bruno






reply via email to

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