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 | 504e53d985234ae5476dafc559010da8cb2e8d35 (patch) | |
tree | b6726ae2dc767c573007d36bc55ce971798a3d5e | |
parent | 795e130cbb315cabbb377e1db63b375bb9f6969d (diff) | |
download | python-coveragepy-504e53d985234ae5476dafc559010da8cb2e8d35.tar.gz |
A few tweaks to the docs
-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 9ce1ee1..fe59bc2 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 91021b1..8f5b68a 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 |