DEV Community

Discussion on: 10 Useful Python One-Liners You Should Know

Collapse
 
anonymoux47 profile image
AnonymouX47

This not not my only issue with this article but I guess the most striking:

del is a keyword used in python to remove values from a list.

del is used for "deleting" all kinds of references to objects, not just list items... could be names, object attributes, items of mutable collections (which almost the others actually are), etc...