obspy.core.inventory.util.PhoneNumber.__init__

PhoneNumber.__init__(area_code, phone_number, country_code=None, description=None)[source]
Parameters:
  • area_code (int) The area code.
  • phone_number (str) The phone number minus the country and area code. Must be in the form “[0-9]+-[0-9]+”, e.g. 1234-5678.
  • country_code (int, optional) The country code.
  • description (str, optional) Any additional information.