repo.or.cz
/
tag_parser.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2to3 (compiles, not tested)
[tag_parser.git]
/
tests
/
stand_alone
/
test7.py
blob
1c01793a2649e0d1cb0e5193e9f7bd8c9785fce4
1
# This Python file uses the following encoding: utf-8
2
'''
3
Created on Jun 2, 2011
4
5
@author: mjacob
6
'''
7
from
mjacob
.
collections
.
FrozenIndex
import
FrozenIndex
8
9
10
x
=
FrozenIndex
(((
1
,
1
),(
1
,
2
),(
2
,
3
),(
2
,
4
)))
11
12
for
y
in
x
:
13
print
(
y
)