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 | 17cc353d4359b2481fc9e6234c1fc5e8ba42a4ae (patch) | |
| tree | 0aa7014553419c880e82dcd1241204a533e3722b /doc/api_coverage.rst | |
| parent | b6e59eb541994480ce955bfee8add110b655c8ad (diff) | |
| download | python-coveragepy-17cc353d4359b2481fc9e6234c1fc5e8ba42a4ae.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 153ca2c..4aa7171 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 |
