python for everyday tasks
Chris Angelico
rosuav at gmail.com
Sat Nov 23 02:25:04 EST 2013
On Sat, Nov 23, 2013 at 5:28 PM, Dan Stromberg <drsalists at gmail.com> wrote:
> Teach that python has builtins, not keywords - IOW, you can redefine list or
> int, but you probably shouldn't. pylint helps with this.
Well, Python has keywords, but uses builtins for many things that
other languages use keywords (or magic) for.
>>> None=1
SyntaxError: assignment to keyword
>>> list=[]
>>> del list
ChrisA
More information about the Python-list
mailing list