Module exceptions :: Class KeyError
[hide private]
[frames] | no frames]

type KeyError

   object --+                
            |                
BaseException --+            
                |            
        Exception --+        
                    |        
        StandardError --+    
                        |    
              LookupError --+
                            |
                           KeyError
Known Subclasses:

Mapping key not found.

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__str__(x)
str(x)

Inherited from BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__

Properties [hide private]

Inherited from BaseException: args, message

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: BaseException.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: BaseException.__new__

__str__(x)
(Informal representation operator)

 

str(x)

Overrides: BaseException.__str__