class PhoneNumber(area_code, phone_number, country_code=None, description=None)[source]

Bases: obspy.core.util.base.ComparingObject

A simple object representing a phone number.


__doc__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)
phone_pattern Compiled regular expression objects

Special Methods

__dir__ default dir() implementation
__format__ default object formatter
type area_code:int
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().