Skip to content

autodoc crashes when encounters option parser #740

@shimizukawa

Description

@shimizukawa

"make html" reports build error:

#!bash
sphinx-build: error: no such option: -b

when autodoc encounters following line:

#!python
(options, args) = parser.parse_args()

parser is the OptionParser from optparse module.

Wider bug description here:
http://stackoverflow.com/questions/6912025/is-optionparser-in-conflict-with-sphinx


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions