Package ldaptor :: Module insensitive :: Class InsensitiveString
[hide private]
[frames] | no frames]

Class InsensitiveString

source code

object --+        
         |        
basestring --+    
             |    
           str --+
                 |
                InsensitiveString

A str subclass that performs all matching without regard to case.

Instance Methods [hide private]
 
__eq__(self, other)
x==y
source code
 
__ne__(self, other)
x!=y
source code
 
__ge__(self, other)
x>=y
source code
 
__gt__(self, other)
x>y
source code
 
__le__(self, other)
x<=y
source code
 
__lt__(self, other)
x<y
source code
 
__hash__(self)
hash(x)
source code
 
__contains__(self, other)
y in x
source code
 
__getslice__(self, *a, **kw)
x[i:j]
source code

Inherited from str: __add__, __getattribute__, __getitem__, __getnewargs__, __len__, __mod__, __mul__, __new__, __repr__, __rmod__, __rmul__, __str__, capitalize, center, count, decode, encode, endswith, expandtabs, find, index, isalnum, isalpha, isdigit, islower, isspace, istitle, isupper, join, ljust, lower, lstrip, partition, replace, rfind, rindex, rjust, rpartition, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__eq__(self, other)
(Equality operator)

source code 
x==y
Overrides: str.__eq__
(inherited documentation)

__ne__(self, other)

source code 
x!=y
Overrides: str.__ne__
(inherited documentation)

__ge__(self, other)
(Greater-than-or-equals operator)

source code 
x>=y
Overrides: str.__ge__
(inherited documentation)

__gt__(self, other)
(Greater-than operator)

source code 
x>y
Overrides: str.__gt__
(inherited documentation)

__le__(self, other)
(Less-than-or-equals operator)

source code 
x<=y
Overrides: str.__le__
(inherited documentation)

__lt__(self, other)
(Less-than operator)

source code 
x<y
Overrides: str.__lt__
(inherited documentation)

__hash__(self)
(Hashing function)

source code 
hash(x)
Overrides: str.__hash__
(inherited documentation)

__contains__(self, other)
(In operator)

source code 
y in x
Overrides: str.__contains__
(inherited documentation)

__getslice__(self, *a, **kw)
(Slicling operator)

source code 

x[i:j]

Use of negative indices is not supported.
Overrides: str.__getslice__
(inherited documentation)