Skip to content

Commit

Permalink
DOC remove Python 2's u's from example output
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike committed Jun 21, 2018
1 parent c8ff59b commit 3c94d7b
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 107 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ Example::
</html>""")
>>>
>>> sel.css('h1::text').extract_first()
u'Hello, Parsel!'
'Hello, Parsel!'
>>>
>>> sel.css('h1::text').re('\w+')
[u'Hello', u'Parsel']
['Hello', 'Parsel']
>>>
>>> for e in sel.css('ul > li'):
print(e.xpath('.//a/@href').extract_first())
Expand Down
Loading

0 comments on commit 3c94d7b

Please sign in to comment.