From: Marcelo M. <mar...@us...> - 2006-01-11 23:11:15
|
Update of /cvsroot/swig/SWIG/Examples/python/std_map In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31800/Examples/python/std_map Modified Files: runme.py Log Message: more examples Index: runme.py =================================================================== RCS file: /cvsroot/swig/SWIG/Examples/python/std_map/runme.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** runme.py 9 Jan 2006 03:00:45 -0000 1.3 --- runme.py 11 Jan 2006 23:11:06 -0000 1.4 *************** *** 3,6 **** --- 3,13 ---- import example + pmap = example.pymap() + pmap["hi"] = 1 + pmap["hello"] = 2 + + + + dmap = {} dmap["hello"] = 1.0 |