3 ms·
It's kind of on the whole dynamically typed model. If you can have static type annotations that are validated for correctness, then you can use those annotation
by weberc2 7y ago
It's kind of on the whole dynamically typed model. If you can have static type annotations that are validated for correctness, then you can use those annotations to validate or generate your documentation. Python supports annotations and validation thereof via Mypy, and assuming the project takes advantage of these, then Sphinx could leverage them to validate/generate documentation.