File: test_pycxx_iter.py

package info (click to toggle)
pycxx 7.1.8-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,284 kB
  • sloc: cpp: 6,767; python: 1,138; sh: 85; ansic: 60; makefile: 18
file content (13 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
import sys
sys.path.insert( 0, 'pyds%d%d' % (sys.version_info[0], sys.version_info[1]) )


import pycxx_iter

IT=pycxx_iter.IterT(5,7)


for i in IT:
    print i, IT

print "refcount of IT:",sys.getrefcount(IT)