diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-28 20:01:16 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-28 20:01:16 -0500 |
commit | 786b563a3f6e1da21f52f3b210de89daba3be897 (patch) | |
tree | 710cd6fa7fb63978d5eef0a8ba314b9d98212d03 /doc | |
parent | 3d5ed2874ed145d3e34200c4f7657e17f4ad888b (diff) | |
download | python-coveragepy-git-786b563a3f6e1da21f52f3b210de89daba3be897.tar.gz |
A few tweaks to the docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.rst | 2 | ||||
-rw-r--r-- | doc/install.rst | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/api.rst b/doc/api.rst index 9ce1ee1e..fe59bc29 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -13,7 +13,7 @@ Coverage API The API to coverage.py is very simple, contained in a single module called `coverage`. Most of the interface is in a single class, also called -`coverage`. Methods on the coverage object correspond to operations available +`coverage`. Methods on the coverage object correspond roughly to operations available in the command line interface. For example, a simple use would be:: import coverage diff --git a/doc/install.rst b/doc/install.rst index 91021b1b..8f5b68af 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -69,3 +69,8 @@ coverage installed properly:: $ coverage --version Coverage.py, version 3.5.3. http://nedbatchelder.com/code/coverage + +You can also invoke coverage as a module:: + + $ python -m coverage --version + Coverage.py, version 3.5.3. http://nedbatchelder.com/code/coverage |