Skip to content

Files

Latest commit

 

History

History
7 lines (4 loc) · 213 Bytes

use-list-literal.md

File metadata and controls

7 lines (4 loc) · 213 Bytes

Pattern: Use of list() instead of []

Issue: -

Description

Emitted when using list() to create an empty list instead of the literal []. The literal is faster as it avoids an additional function call.