[Zope-CVS] CVS: Packages/JobBoardEx - IJobList.py:1.4

Jeremy Hylton jeremy@zope.com
Tue, 19 Mar 2002 18:58:26 -0500


Update of /cvs-repository/Packages/JobBoardEx
In directory cvs.zope.org:/tmp/cvs-serv15740

Modified Files:
	IJobList.py 
Log Message:
Add add() to the interface.  
Document exception raised by remove().


=== Packages/JobBoardEx/IJobList.py 1.3 => 1.4 ===
         Raises KeyError if jobid is not in list.
         """
+
+    def add(job):
+        """Add a Job object to the list."""
         
     def remove(job):
-        """Removes the Job object job from the list."""
+        """Removes the Job object job from the list.
+
+        Raises ValueError if job is not in the list.
+        """