Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

IndexError: list assignment index out of range #3

@ckalpit

Description

@ckalpit

command: automacdoc . ./../wiki

Traceback (most recent call last):
File ".../env/bin/automacdoc", line 11, in
sys.exit(main())
File ".../env/lib/python3.6/site-packages/automacdoc/main.py", line 11, in main
write_doc(argv[1], argv[2])
File ".../env/lib/python3.6/site-packages/automacdoc/automacdoc.py", line 324, in write_doc
write_module(root_path, module_name, mdfile_path)
File ".../env/lib/python3.6/site-packages/automacdoc/automacdoc.py", line 211, in write_module
for n, o in inspect.getmembers(module, inspect.isclass)
File ".../env/lib/python3.6/site-packages/automacdoc/automacdoc.py", line 211, in
for n, o in inspect.getmembers(module, inspect.isclass)
File ".../env/lib/python3.6/site-packages/automacdoc/automacdoc.py", line 93, in create_class
clas["source"] = rm_docstring_from_source(inspect.getsource(obj))
File ".../env/lib/python3.6/site-packages/automacdoc/automacdoc.py", line 20, in rm_docstring_from_source
del source[1] # remove docstring
IndexError: list assignment index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions