MCPcopy Index your code
hub / github.com/daviddrysdale/python-phonenumbers / __repr__

Method __repr__

python/phonenumbers/phonenumber.py:229–240  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

227 return not self.__eq__(other)
228
229 def __repr__(self):
230 return (unicod("%s(country_code=%s, national_number=%s, extension=%s, " +
231 "italian_leading_zero=%s, number_of_leading_zeros=%s, " +
232 "country_code_source=%s, preferred_domestic_carrier_code=%s)") %
233 (type(self).__name__,
234 self.country_code,
235 self.national_number,
236 rpr(self.extension),
237 self.italian_leading_zero,
238 self.number_of_leading_zeros,
239 self.country_code_source,
240 rpr(self.preferred_domestic_carrier_code)))
241
242 def __unicode__(self):
243 result = (unicod("Country Code: %s National Number: %s") %

Callers

nothing calls this directly

Calls 1

rprFunction · 0.85

Tested by

no test coverage detected