M
mh
What's the best Python idiom for this C construct?
while ((x = next()) != END) {
....
}
Now I'm doing
x = next()
while x != END:
....
x = next()
There's not an iterator for this function, or I would
just use
for x in ...
Many TIA!
Mark
while ((x = next()) != END) {
....
}
Now I'm doing
x = next()
while x != END:
....
x = next()
There's not an iterator for this function, or I would
just use
for x in ...
Many TIA!
Mark