From 9835b3ad1953f0dd4ca97099955bfbdb0f8eca8c Mon Sep 17 00:00:00 2001 From: Lucy Liu Date: Fri, 18 Aug 2023 21:57:39 +1000 Subject: [PATCH] DOC Fix typo in `_get_docstring_and_rest` docstring (#1182) --- sphinx_gallery/py_source_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_gallery/py_source_parser.py b/sphinx_gallery/py_source_parser.py index ec6ccff9d..a7b401d8a 100644 --- a/sphinx_gallery/py_source_parser.py +++ b/sphinx_gallery/py_source_parser.py @@ -83,7 +83,7 @@ def _get_docstring_and_rest(filename): lineno : int The line number. node : ast.Module - The ast node. When `filename` parsed with `mode='exec' node should be + The ast node. When `filename` parsed with `mode='exec'` node should be of type `ast.Module`. """ node, content = parse_source_file(filename)