[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - hub.py:1.4

Steve Alexander steve@cat-box.net
Mon, 3 Feb 2003 11:01:13 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv23493/src/zope/app/interfaces/services

Modified Files:
	hub.py 
Log Message:
clarified that a hubId is always a true value -- that is, it can never
be the int 0.


=== Zope3/src/zope/app/interfaces/services/hub.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/services/hub.py:1.3	Mon Dec 30 09:03:14 2002
+++ Zope3/src/zope/app/interfaces/services/hub.py	Mon Feb  3 11:01:11 2003
@@ -148,6 +148,8 @@
         """Returns a new hub id for the given location or the given
         wrapped object if it is not already registered.
 
+        A hubId is an int. 0 is never a valid hubId.
+
         It also emits a HubIdObjectRegisteredEvent.  Raises an
         ObjectHubError if the location was previously registered.
         """