| Home | Trees | Index | Help |
|---|
| Package svnmailer :: Package browser :: Module _base :: Class ParsedQuery |
|
object --+
|
ParsedQuery
| Method Summary | |
|---|---|
Initialization | |
| bool |
Returns whether key occurs in the query as parameter name |
| list |
Returns the value list for parameter named key |
| str or unicode |
Returns the query as string again |
Adds certain key value pairs to the query | |
Summarizes certain query modification methods | |
Removes certain parameters from the query if present | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
| Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
| Instance Variable Summary | |
|---|---|
| str | _delim: The delimiter to use for reconstructing the query string |
| list | _keyorder: Original order of the keys (['key', ...]) |
| dict | _query_dict: Dictionary of key->valuelist pairs
({'key': ['val1', 'val2'], ...}) |
| Class Variable Summary | |
|---|---|
| _sre.SRE_Pattern | _QUERYRE: Regex for splitting a query string
on possible delimiters (& and ;) |
| Method Details |
|---|
__init__(self,
query='',
delim='&')
Initialization |
__contains__(self,
key)
Returns whether |
__getitem__(self,
key)
|
__str__(self)
Returns the query as string again |
add(self, toadd)Adds certain key value pairs to the query
|
modify(self, remove=None, add=None, set=None)Summarizes certain query modification methods
|
remove(self, keys)Removes certain parameters from the query if present Non-present parameters are silently ignored
|
| Instance Variable Details |
|---|
_delimThe delimiter to use for reconstructing the query string
|
_keyorderOriginal order of the keys (['key', ...])
|
_query_dictDictionary of key->valuelist pairs ({'key': ['val1', 'val2'], ...})
|
| Class Variable Details |
|---|
_QUERYRERegex for splitting a query string on possible delimiters (& and ;)
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.0 on Sun Sep 25 20:49:18 2005 | http://epydoc.sf.net |