[CalendarServer-changes] [12553] twext/trunk/twext/who/idirectory.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:18:53 PDT 2014


Revision: 12553
          http://trac.calendarserver.org//changeset/12553
Author:   sagen at apple.com
Date:     2014-02-04 10:40:30 -0800 (Tue, 04 Feb 2014)
Log Message:
-----------
Update doc strings (bytes --> unicode)

Modified Paths:
--------------
    twext/trunk/twext/who/idirectory.py

Modified: twext/trunk/twext/who/idirectory.py
===================================================================
--- twext/trunk/twext/who/idirectory.py	2014-02-04 18:39:54 UTC (rev 12552)
+++ twext/trunk/twext/who/idirectory.py	2014-02-04 18:40:30 UTC (rev 12553)
@@ -293,7 +293,7 @@
         @type fieldName: L{NamedConstant}
 
         @param value: a value to match
-        @type value: L{bytes}
+        @type value: L{object}
 
         @return: The matching records.
         @rtype: deferred iterable of L{IDirectoryRecord}s
@@ -305,7 +305,7 @@
         Find the record that has the given UID.
 
         @param uid: a UID
-        @type uid: L{bytes}
+        @type uid: L{unicode}
 
         @return: The matching record or C{None} if there is no match.
         @rtype: deferred L{IDirectoryRecord}s or C{None}
@@ -344,7 +344,7 @@
         @type recordType: L{NamedConstant}
 
         @param shortName: a short name
-        @type shortName: L{bytes}
+        @type shortName: L{unicode}
 
         @return: The matching record or C{None} if there is no match.
         @rtype: deferred L{IDirectoryRecord}s or C{None}
@@ -356,7 +356,7 @@
         Find the records that have the given email address.
 
         @param emailAddress: an email address
-        @type emailAddress: L{bytes}
+        @type emailAddress: L{unicode}
 
         @return: The matching records.
         @rtype: deferred iterable of L{IDirectoryRecord}s
@@ -386,7 +386,7 @@
         Removes the records with the given UIDs.
 
         @param uids: the UIDs of the records to remove
-        @type uids: iterable of L{bytes}
+        @type uids: iterable of L{unicode}
 
         @return: unspecifiied
         @rtype: deferred object
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/0b9b56c3/attachment.html>


More information about the calendarserver-changes mailing list