Re: del() function - cannot find documentation

2010-10-11 Thread Lawrence D'Oliveiro
In message , Tim Roberts wrote: > This kind of confusion is, in my opinion, the primary reason why > parentheses should never be used with "del" and "return", as we so > commonly see. It’s the kind of “confusion” that could be cleared up with 30 seconds’ access to a Python interpreter: l...

Re: del() function - cannot find documentation

2010-10-11 Thread Lawrence D'Oliveiro
In message , mafeu...@gmail.com wrote: > the problem is I cannot find any information about del() function in > python 2.7 documentation. Try the Python language reference. -- http://mail.python.org/mailman/listinfo/python-list

Re: del() function - cannot find documentation

2010-10-07 Thread Tim Roberts
Chris Rebert wrote: >On Thu, Oct 7, 2010 at 1:12 PM, wrote: >> >> there is following python script: >> >> mine = { 1: "sd", 2: "mk" } >> del(mine[1]) >> print mine >> >> the problem is I cannot find any information about del() function in >> python 2.7 documentation. >> is it a documentation bug

Re: del() function - cannot find documentation

2010-10-07 Thread Chris Rebert
On Thu, Oct 7, 2010 at 1:12 PM, wrote: > Hallo ML. > > there is following python script: > > mine = { 1: "sd", 2: "mk" } > del(mine[1]) > print mine > > the problem is I cannot find any information about del() function in > python 2.7 documentation. > is it a documentation bug or I misunderstand