Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
0af0bd43
Commit
0af0bd43
authored
Dec 19, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/mkapiref.py: Support python3.3
parent
6039e6b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/mkapiref.py
doc/mkapiref.py
+2
-2
No files found.
doc/mkapiref.py
View file @
0af0bd43
...
@@ -199,9 +199,9 @@ def transform_content(content):
...
@@ -199,9 +199,9 @@ def transform_content(content):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
parser
=
argparse
.
ArgumentParser
(
description
=
"Generate API reference"
)
parser
=
argparse
.
ArgumentParser
(
description
=
"Generate API reference"
)
parser
.
add_argument
(
'--header'
,
type
=
argparse
.
FileType
(
'r
b'
,
0
),
parser
.
add_argument
(
'--header'
,
type
=
argparse
.
FileType
(
'r
'
),
help
=
'header inserted at the top of the page'
)
help
=
'header inserted at the top of the page'
)
parser
.
add_argument
(
'files'
,
nargs
=
'+'
,
type
=
argparse
.
FileType
(
'r
b'
,
0
),
parser
.
add_argument
(
'files'
,
nargs
=
'+'
,
type
=
argparse
.
FileType
(
'r
'
),
help
=
'source file'
)
help
=
'source file'
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
if
args
.
header
:
if
args
.
header
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment