summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDanny Allen <danny.allen@pennantplc.co.uk>2014-09-22 12:10:53 +0100
committerDanny Allen <danny.allen@pennantplc.co.uk>2014-09-22 12:10:53 +0100
commitad4c7f3a5194f6966454d534f02e6b02633fa370 (patch)
treeb6e1feacb8ff67fab0d311e36c09a52ef8be188f /doc
parent1de59bd539baa6b38e98f08b268deb3eeaeb5eb0 (diff)
parent1b6d0d06624170fb7a17738387387b1f21357e94 (diff)
downloadpython-coveragepy-git-ad4c7f3a5194f6966454d534f02e6b02633fa370.tar.gz
* Merge changes from head.
Diffstat (limited to 'doc')
-rw-r--r--doc/api.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/api.rst b/doc/api.rst
index a43de17f..0a00947e 100644
--- a/doc/api.rst
+++ b/doc/api.rst
@@ -9,16 +9,17 @@ Coverage API
:history: 20100221T151500, docs for 3.3 (on the plane back from PyCon)
:history: 20100725T211700, updated for 3.4.
:history: 20121111T235800, added a bit of clarification.
+:history: 20140819T132600, change class name to Coverage
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 roughly to operations
+`coverage`. Most of the interface is in a single class, called
+`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
- cov = coverage.coverage()
+ cov = coverage.Coverage()
cov.start()
# .. call your code ..
@@ -34,7 +35,7 @@ The coverage module
.. module:: coverage
-.. autoclass:: coverage
+.. autoclass:: Coverage
:members: