[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - IRolePermissionMap.py:1.1.2.4

Jim Fulton jim@zope.com
Fri, 28 Dec 2001 08:40:55 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv16800

Modified Files:
      Tag: Zope-3x-branch
	IRolePermissionMap.py 
Log Message:
Changed documentation to say a sequence, rather than a list is
returned.


=== Zope3/lib/python/Zope/App/Security/IRolePermissionMap.py 1.1.2.3 => 1.1.2.4 ===
 
     def getPermissionsForRole(role):
-        """Return the list of permissions for the given role.
+        """Return a sequence of permissions for the given role.
 
         role must be an IRole.  If no permissions have been granted to this
         role, then the empty list is returned.
         """
 
     def getRolesForPermission(permission):
-        """Return the list of roles for the given permission.
+        """Return a sequence of roles for the given permission.
 
         permission must be an IPermission.  If no roles have been granted
         this permission, then the empty list is returned.