Package cssutils :: Package css :: Module cssstylesheet :: Class CSSStyleSheet :: Class __Namespaces
[hide private]
[frames] | no frames]

Class __Namespaces

source code

object --+
         |
        CSSStyleSheet.__Namespaces

similar to a dict used for namespace rule wrapper
Instance Methods [hide private]
 
__init__(self, sheet, *p)
no initial values are set, only the relevant sheet is
source code
 
__findrule(self, key) source code
 
__contains__(self, key) source code
 
__delitem__(self, key)
deleted namespace rule with prefix == key
source code
 
__getitem__(self, key) source code
 
__iter__(self) source code
 
__len__(self) source code
 
__setitem__(self, key, value)
may raise NoModificationAllowedErr
source code
 
swapPrefix(self, oldprefix, newprefix, namespaceURI=None) source code
 
__repr__(self)
repr(x)
source code
 
__str__(self)
str(x)
source code
 
items(self) source code
 
keys(self) source code
 
values(self) source code
 
_Namespaces__findrule(self, key) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, sheet, *p)
(Constructor)

source code 
no initial values are set, only the relevant sheet is
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)