Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
urllib.request.UnknownHandler Class Reference
Inheritance diagram for urllib.request.UnknownHandler:
Inheritance graph
[legend]
Collaboration diagram for urllib.request.UnknownHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def unknown_open
def add_parent
def close
def __lt__

Public Attributes

 parent

Static Public Attributes

int handler_order = 500

Detailed Description

Definition at line 1194 of file request.py.


Member Function Documentation

def urllib.request.BaseHandler.__lt__ (   self,
  other 
) [inherited]

Definition at line 467 of file request.py.

00467 
00468     def __lt__(self, other):
00469         if not hasattr(other, "handler_order"):
00470             # Try to preserve the old behavior of having custom classes
00471             # inserted after default ones (works only for custom user
00472             # classes which are not aware of handler_order).
00473             return True
00474         return self.handler_order < other.handler_order
00475 

def urllib.request.BaseHandler.add_parent (   self,
  parent 
) [inherited]

Definition at line 460 of file request.py.

00460 
00461     def add_parent(self, parent):
00462         self.parent = parent

def urllib.request.BaseHandler.close (   self) [inherited]

Definition at line 463 of file request.py.

00463 
00464     def close(self):
00465         # Only exists for backwards compatibility
00466         pass

Here is the caller graph for this function:

def urllib.request.UnknownHandler.unknown_open (   self,
  req 
)

Definition at line 1195 of file request.py.

01195 
01196     def unknown_open(self, req):
01197         type = req.type
01198         raise URLError('unknown url type: %s' % type)

Here is the caller graph for this function:


Member Data Documentation

int urllib.request.BaseHandler.handler_order = 500 [static, inherited]

Definition at line 461 of file request.py.


The documentation for this class was generated from the following file: