why del is not a function or method?

Xue Feng xf.lotus at yahoo.com
Mon Oct 16 11:37:12 EDT 2017


Hi,
    I wonder why 'del' is not a function or method. Most operations can 
be used as follows
		len(team)
or
		team.append("tom")
But, I think
		del team[2]
is somewhat uncommon. Why does not it take a syntax we are famillar with?



More information about the Python-list mailing list