mirror of https://github.com/scrapy/scrapy.git
reverted wrong XPathSelector commit
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%4087
This commit is contained in:
parent
c9851d8ec9
commit
e7fbaa50d8
|
|
@ -86,10 +86,6 @@ class XPathSelector(object):
|
|||
class XPathSelectorList(list):
|
||||
"""List of XPathSelector objects"""
|
||||
|
||||
def __getitem__(self, i):
|
||||
return '__getitem__'
|
||||
#return XPathSelectorList(list.__getslice__(self, i, j))
|
||||
|
||||
def x(self, xpath):
|
||||
"""Perform the given XPath query on each XPathSelector of the list and
|
||||
return a new (flattened) XPathSelectorList of the results"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue