diff options
Diffstat (limited to 'doc/api.rst')
-rw-r--r-- | doc/api.rst | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/api.rst b/doc/api.rst index 279e9dbb..951ddb42 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -4,15 +4,12 @@ Coverage API ============ -The API to coverage.py is very simple, contained in a single module called -coverage containing a single class, also called coverage:: - - import coverage +:history: 20090524T134300, brand new docs. - cov = coverage.coverage() - -Methods on the coverage object correspond to operations available in the -command line interface. For example, a simple use would be:: +The API to coverage.py is very simple, contained in a single module called +coverage containing a single class, also called coverage. Methods on the +coverage object correspond to operations available in the command line +interface. For example, a simple use would be:: import coverage |