pyquery icon indicating copy to clipboard operation
pyquery copied to clipboard

collections of strings are unprintable

Open gawel opened this issue 13 years ago • 1 comments

dwt created an issue 2012-06-05

If you use code like this

print someCollection.map(lambda index, each: PyQuery(each).text())

it explodes as it can't deal with the fact that the pyquery collection only contains strings.

gawel avatar Nov 28 '12 20:11 gawel

Can you add a real example ? What is "someCollection" ?

gawel avatar Nov 28 '12 20:11 gawel