mirror of https://github.com/scrapy/scrapy.git
Fix typo in docstring
This commit is contained in:
parent
da36b7d386
commit
5f5374209f
|
|
@ -31,7 +31,7 @@ def arg_to_iter(arg):
|
|||
def load_object(path):
|
||||
"""Load an object given its absolute object path, and return it.
|
||||
|
||||
object can be a class, function, variable o instance.
|
||||
object can be a class, function, variable or an instance.
|
||||
path ie: 'scrapy.downloadermiddlewares.redirect.RedirectMiddleware'
|
||||
"""
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ def load_object(path):
|
|||
|
||||
|
||||
def walk_modules(path):
|
||||
"""Loads a module and all its submodules from a the given module path and
|
||||
"""Loads a module and all its submodules from the given module path and
|
||||
returns them. If *any* module throws an exception while importing, that
|
||||
exception is thrown back.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue