提交 5f537420 编写于 作者: V Victor Mireyev

Fix typo in docstring

上级 da36b7d3
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册