doc: make os api doc more consistent
This adds a missing Returns to os.arch()
as well as a missing added in
version to os.constants
.
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc