Package onep :: Package location :: Module location :: Class CivicLocation
[frames] | no frames]

Class CivicLocation


LocationCivic consists of a standard CAType constant and the associated value. The CAType numbers are standardized in RFC 4776. For use of any arbitrary name and value, see the "Cisco Custom" location type.

Instance Methods
 
__init__(self, catype, value)
x.__init__(...) initializes x; see help(type(x)) for signature
 
catype(self)
 
value(self)
 
__eq__(self, obj)
 
__str__(self)
str(x)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, catype, value)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • catype - CAtype number (RFC 4776).
  • value - Value associated with catype.
Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)