add swig::PyItem and all the helper code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
07ff83fdc3
commit
40a65ea681
7 changed files with 206 additions and 6 deletions
|
|
@ -82,3 +82,15 @@ if m.value() != "c":
|
|||
|
||||
|
||||
|
||||
s = pyset()
|
||||
s.insert((1,2))
|
||||
s.insert(1)
|
||||
s.insert("hello")
|
||||
|
||||
|
||||
sum = ()
|
||||
for i in s:
|
||||
sum += (i,)
|
||||
|
||||
if sum != (1, 'hello', (1, 2)):
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue