summaryrefslogtreecommitdiff
path: root/doc/api.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-05-28 21:04:54 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-05-28 21:04:54 -0400
commited4668dd87f187f953bde83d23e0094716f3a46b (patch)
tree5c3ff94d8b97aa36957cf8cec3e6449a007bd730 /doc/api.rst
parent2af40b9aa1fe914fccc94865624a7469344d2edc (diff)
downloadpython-coveragepy-ed4668dd87f187f953bde83d23e0094716f3a46b.tar.gz
Slow progress on docs.
Diffstat (limited to 'doc/api.rst')
-rw-r--r--doc/api.rst13
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/api.rst b/doc/api.rst
index 279e9db..951ddb4 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