Back to index

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

List of all members.

Public Member Functions

def geturl
def username
def password
def hostname
def port
def decode

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type
struct _typeobjectob_type

Static Private Attributes

tuple __slots__ = ()

Detailed Description

Definition at line 255 of file parse.py.


Member Function Documentation

def urllib.parse._ResultMixinBytes.decode (   self,
  encoding = 'ascii',
  errors = 'strict' 
) [inherited]

Definition at line 123 of file parse.py.

00123 
00124     def decode(self, encoding='ascii', errors='strict'):
00125         return self._decoded_counterpart(*(x.decode(encoding, errors) for x in self))
00126 

Definition at line 257 of file parse.py.

00257 
00258     def geturl(self):
00259         return urlunsplit(self)

Here is the call graph for this function:

Definition at line 140 of file parse.py.

00140 
00141     def hostname(self):
00142         hostname = self._hostinfo[0]
00143         if not hostname:
00144             hostname = None
00145         elif hostname is not None:
00146             hostname = hostname.lower()
00147         return hostname

Here is the call graph for this function:

Definition at line 136 of file parse.py.

00136 
00137     def password(self):
00138         return self._userinfo[1]

Here is the call graph for this function:

def urllib.parse._NetlocResultMixinBase.port (   self) [inherited]

Definition at line 149 of file parse.py.

00149 
00150     def port(self):
00151         port = self._hostinfo[1]
00152         if port is not None:
00153             port = int(port, 10)
00154         return port
00155 

Here is the call graph for this function:

Definition at line 132 of file parse.py.

00132 
00133     def username(self):
00134         return self._userinfo[0]

Here is the call graph for this function:


Member Data Documentation

tuple urllib.parse.SplitResultBytes.__slots__ = () [static, private]

Reimplemented from urllib.parse._NetlocResultMixinBytes.

Definition at line 256 of file parse.py.

Definition at line 107 of file object.h.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.


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