Skip to content

Commit 3c94d7b

Browse files
committed
DOC remove Python 2's u's from example output
1 parent c8ff59b commit 3c94d7b

File tree

2 files changed

+108
-107
lines changed

2 files changed

+108
-107
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ Example::
4040
</html>""")
4141
>>>
4242
>>> sel.css('h1::text').extract_first()
43-
u'Hello, Parsel!'
43+
'Hello, Parsel!'
4444
>>>
4545
>>> sel.css('h1::text').re('\w+')
46-
[u'Hello', u'Parsel']
46+
['Hello', 'Parsel']
4747
>>>
4848
>>> for e in sel.css('ul > li'):
4949
print(e.xpath('.//a/@href').extract_first())

0 commit comments

Comments
 (0)