mirror of https://github.com/scrapy/scrapy.git
removed backwards compatibility alias: load_class
This commit is contained in:
parent
e71764e707
commit
d6da7eb04f
|
|
@ -41,7 +41,6 @@ def load_object(path):
|
|||
raise NameError, "Module '%s' doesn't define any object named '%s'" % (module, name)
|
||||
|
||||
return obj
|
||||
load_class = load_object # backwards compatibility, but isnt going to be available for too long.
|
||||
|
||||
def extract_regex(regex, text, encoding):
|
||||
"""Extract a list of unicode strings from the given text/encoding using the following policies:
|
||||
|
|
|
|||
Loading…
Reference in New Issue