diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-03 19:36:59 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-03 19:36:59 -0400 |
commit | 10f4e01ba81a1d840e43b5888a4d293e6059e1b9 (patch) | |
tree | 8ebc6ef53b1791249cb6f890f14b8c9ccfb028a6 /doc/api_coverage.rst | |
parent | 2e049a55fb8e2788dc52f7ab760cdbd7ceb662f9 (diff) | |
download | python-coveragepy-git-10f4e01ba81a1d840e43b5888a4d293e6059e1b9.tar.gz |
Fix method references in the docs.
Some needed to be :meth:`.foo`, and some didn't. Turned out it was because of
how the .rst used automodule and autoclass.
Diffstat (limited to 'doc/api_coverage.rst')
-rw-r--r-- | doc/api_coverage.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api_coverage.rst b/doc/api_coverage.rst index 153ca2c5..4aa71719 100644 --- a/doc/api_coverage.rst +++ b/doc/api_coverage.rst @@ -8,7 +8,9 @@ The Coverage class ------------------ -.. autoclass:: coverage.Coverage +.. automodule:: coverage + +.. autoclass:: Coverage :members: :exclude-members: use_cache, sys_info :special-members: __init__ @@ -20,4 +22,4 @@ Starting coverage.py automatically This function is used to start coverage measurement automatically when Python starts. See :ref:`subprocess` for details. -.. autofunction:: coverage.process_startup +.. autofunction:: process_startup |