bug-gnulib
[Top][All Lists]
Advanced

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

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


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

I'd like to start cleaning up some of the unnecessary list(), tuple(),
dict() calls. This patch just converts:

    var = list()

to

    var = []

everywhere.

Collin

Attachment: 0001-gnulib-tool.py-Use-instead-of-list-to-initialize-emp.patch
Description: Text Data


reply via email to

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