Skip to content

Commit 4af6bc9

Browse files
committed
Also need to make sure section is optional in "?"
1 parent 24fec16 commit 4af6bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mathics/doc/common_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ class XMLDoc(object):
14891489
Mathics core also uses this in getting usage strings (`??`).
14901490
"""
14911491

1492-
def __init__(self, doc, title, section):
1492+
def __init__(self, doc, title, section=None):
14931493
self.title = title
14941494
if section:
14951495
chapter = section.chapter

0 commit comments

Comments
 (0)