Add pydoc documentation to the Python API

Description

It would also be great to start adding type annotations. Since we need to support 2.7 and Python 3 < 3.5, we can use comment syntax. See https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code

https://gem5-review.googlesource.com/c/public/gem5/+/31756

Activity

Show:
Jason Lowe-Power
July 24, 2020, 8:50 PM

For the _m5 module, type annotations are already there from pybind11.

Assignee

Unassigned

Reporter

Jason Lowe-Power

Priority

Medium

Epic Link

Fix versions