Skip to content
Snippets Groups Projects
Unverified Commit f98ef5ee authored by Saurabh Kumar's avatar Saurabh Kumar Committed by GitHub
Browse files

Fix usages of dict() and list() with literal keywords (#3094)

Replace their usages with the literal versions, [] for lists, {} for
dicts, etc. It's easier for others to read, looks nicer, and the
interpreter will convert it into bytecode that is executed faster
(special opcodes for the containers, instead of performing function
calls).
parent 4d7e8ebc
Loading
Showing
with 36 additions and 40 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment