File: double-colon.py

package info (click to toggle)
python-libtrace 1.6%2Bgit20161027-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,124 kB
  • ctags: 1,357
  • sloc: ansic: 6,890; python: 3,228; makefile: 70; sh: 49
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