Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc-1.1
Commits
b20a8ec1
Commit
b20a8ec1
authored
Jul 31, 2009
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python-ctypes: fix doxygen to epydoc comment conversion
parent
47648bd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bindings/python-ctypes/generate.py
bindings/python-ctypes/generate.py
+2
-2
No files found.
bindings/python-ctypes/generate.py
View file @
b20a8ec1
...
...
@@ -454,8 +454,8 @@ def parse_override(name):
def fix_python_comment(c):
"""Fix comment by removing first and last parameters (self and exception)
"""
data=c.splitlines()
body=itertools.takewhile(lambda l: not '
@
param
' in l, data)
data=c.
replace('
@
{
', '').replace('
@
see
', '
See
').
splitlines()
body=itertools.takewhile(lambda l: not '
@
param
' in l
and not '
@
return
' in l
, data)
param=[ python_param_re.sub('
\\
1
:
\\
2
', l) for l in itertools.ifilter(lambda l: '
@
param
' in l, data) ]
ret=[ l.replace('
@
return
', '
@
return
:
') for l in itertools.ifilter(lambda l: '
@
return
' in l, data) ]
...
...
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