Skip to content

Commit a30eb93

Browse files
committed
handle config is None
1 parent c99f393 commit a30eb93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpydoc/docscrape_sphinx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,4 +459,4 @@ def _parse_config(s):
459459
for part in parts[split_point:]:
460460
obj = getattr(obj, part)
461461

462-
print(get_doc_object(obj, config=dict(args.config)))
462+
print(get_doc_object(obj, config=dict(args.config or [])))

0 commit comments

Comments
 (0)