In message mailman.1449.1286482348.29448.python-l...@python.org,
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
In message vedta6d9i8no1h6cmkb5nl7np5lfov1...@4ax.com, 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’
Chris Rebert c...@rebertia.com wrote:
On Thu, Oct 7, 2010 at 1:12 PM, mafeu...@gmail.com 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
On Thu, Oct 7, 2010 at 1:12 PM, mafeu...@gmail.com 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
mayank gupta wrote:
after analyzing the time taken by the code,
What code?
--
http://mail.python.org/mailman/listinfo/python-list
mayank gupta wrote:
Hi all,
I wanted to know whether there is a more efficient way to delete an
entry from a dictionary (instead of using the 'del' function), because
after analyzing the time taken by the code, it seems to me that the
'del' function takes most of the time.
That is hard
, 2, 2, 4, 4, 4, 3, 3, 3, 3]
[2, 2, 4, 4]
The _red function is fine, but the del function isn't working. What did I
do wrong?
The code is doing what you told it to:
[code]
while x 4:
array = single_players[4:17] # -- you are re-creating `array' in every loop
length = len(array) - 1
, 3, 3, 3]
[2, 2, 4, 4]
The _red function is fine, but the del function isn't working. What did I
do wrong?
--
http://mail.python.org/mailman/listinfo/python-list