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
commit50ce8b99a5ef63f473083ed7cea48dc503258da0 (patch)
tree8b3f03b714adf78bbb5ee2c7ffdb1a025d6532eb /doc/api.rst
parentb42985e17c3ae2071939c451d9a82865ca53608d (diff)
downloadpython-coveragepy-git-50ce8b99a5ef63f473083ed7cea48dc503258da0.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 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