mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Elaborate a comment on the format of the table that drives the
conversion.
This commit is contained in:
parent
d7acf02290
commit
9d1c3b565f
1 changed files with 5 additions and 1 deletions
|
|
@ -315,7 +315,11 @@ def main():
|
|||
sys.exit(2)
|
||||
convert(ifp, ofp, {
|
||||
# entries have the form:
|
||||
# name: ([attribute names], first_is_optional, empty, isenv, nocontent)
|
||||
# name: ([attribute names], is1stOptional, isEmpty, isEnv, nocontent)
|
||||
# attribute names can be:
|
||||
# "string" -- normal attribute
|
||||
# ("string",) -- sub-element with content of macro; like for \section
|
||||
# ["string"] -- sub-element
|
||||
"appendix": ([], 0, 1, 0, 0),
|
||||
"bifuncindex": (["name"], 0, 1, 0, 0),
|
||||
"catcode": ([], 0, 1, 0, 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue