File: double-colon.py

package info (click to toggle)
python-libtrace 1.6-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 2,160 kB
  • sloc: ansic: 6,886; python: 3,187; sh: 79; makefile: 70
file content (12 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12

import ipp

v61 = ipp.from_s("d001:0df:0:123:0:0:130:216:38:123")
v62 = ipp.from_s("e001:0df:0:123::130:216:38:123")
v63 = ipp.from_s("f001:0df::123:0:0:130:216:38:123")

print "ascii  2001:0df:0:123:0:0:130:216:38:123"
print "  v61  %s" % v61
print "  v62  %s" % v62
print "  v63  %s" % v63