1. Jason R. Coombs
  2. python-ldap

Commits

stroeder  committed 18d487b

Class attributes in doc strings

  • Participants
  • Parent commits 7e89253
  • Branches default

Comments (0)

Files changed (1)

File Lib/ldap/controls/readentry.py

View file
  • Ignore whitespace
 
   attrList
       list of attribute type names requested
+
+  Class attributes with values extracted from the response control:
+
+  dn
+      string holding the distinguished name of the LDAP entry
+  entry
+      dictionary holding the LDAP entry
   """
 
   def __init__(self,criticality=False,attrList=None):
 
   attrList
       list of attribute type names requested
+
+  Class attributes with values extracted from the response control:
+
+  dn
+      string holding the distinguished name of the LDAP entry
+      before the operation was done by the server
+  entry
+      dictionary holding the LDAP entry
+      before the operation was done by the server
   """
   controlType = ldap.CONTROL_PRE_READ
 
 
   attrList
       list of attribute type names requested
+
+  Class attributes with values extracted from the response control:
+
+  dn
+      string holding the distinguished name of the LDAP entry
+      after the operation was done by the server
+  entry
+      dictionary holding the LDAP entry
+      after the operation was done by the server
   """
   controlType = ldap.CONTROL_POST_READ