From 0e3d0775462159fd46493e25bcb07936766e7ae5 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 19 Aug 2014 13:29:24 -0400 Subject: Also update the docs for the Coverage name. --- doc/api.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'doc/api.rst') 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: -- cgit v1.2.1