-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
Was just fiddling with the cssselect 0.2 package from PyPI. Noticed that the docs
claim a result that doesn't appear to be current/correct. In docs:
>>> from cssselect import css_to_xpath
>>> exrpession = css_to_xpath('div.content')
>>> exrpession
"descendant-or-self::div[contains(concat(' ', normalize-space(@class), ' '), ' content ')]"
What I got:
u"descendant-or-self::div[@class and contains(concat(' ', normalize-space(@class), ' '), ' content ')]"
(Differences: The u for unicode string and @class and
expression.)
Metadata
Metadata
Assignees
Labels
No labels