30 lines
845 B
Plaintext
30 lines
845 B
Plaintext
From: mal at lemburg.com (M.-A. Lemburg)
|
|
Date: Fri, 16 Apr 1999 12:36:40 GMT
|
|
Subject: ANN: mxStack Package - Version 0.3.0
|
|
References: <37171CCE.656F3EF6@lemburg.com>
|
|
Message-ID: <37172ED8.26CC1110@lemburg.com>
|
|
X-UID: 1484
|
|
|
|
Oops, just found a bug in the release. I've just updated
|
|
the package archive on starship: there was a bug in the
|
|
non-zero testing code.
|
|
|
|
With the updated version, this should now work correctly:
|
|
|
|
s = Stack()
|
|
while s:
|
|
obj = s.pop()
|
|
# do something with obj
|
|
assert len(s) == 0
|
|
|
|
--
|
|
Marc-Andre Lemburg Y2000: 259 days left
|
|
---------------------------------------------------------------------
|
|
: Python Pages >>> http://starship.skyport.net/~lemburg/ :
|
|
---------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|