gawel / pyquery

A jquery-like library for python
http://pyquery.rtfd.org/
Other
2.3k stars 182 forks source link

Don't return .val() as None when it is the empty string #157

Closed asottile closed 8 years ago

asottile commented 8 years ago

I've updated this branch with one additional behaviour that I noticed separately.

in jquery:

>> $('<input>').val()
''