summaryrefslogtreecommitdiffstats
path: root/third_party/dnspython/examples/e164.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/dnspython/examples/e164.py')
-rwxr-xr-xthird_party/dnspython/examples/e164.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/dnspython/examples/e164.py b/third_party/dnspython/examples/e164.py
new file mode 100755
index 0000000000..ad40ccf84b
--- /dev/null
+++ b/third_party/dnspython/examples/e164.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import dns.e164
+n = dns.e164.from_e164("+1 555 1212")
+print n
+print dns.e164.to_e164(n)