Fix SF#2552048. Remove the 'self' parameter in Python proxy code for static member function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1d1ee5bae7
commit
be7fdab62e
3 changed files with 13 additions and 2 deletions
7
Examples/test-suite/python/cpp_static_runme.py
Normal file
7
Examples/test-suite/python/cpp_static_runme.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/evn python
|
||||
from cpp_static import *
|
||||
StaticFunctionTest.static_func()
|
||||
StaticFunctionTest.static_func_2(1)
|
||||
StaticFunctionTest.static_func_3(1,2)
|
||||
StaticMemberTest.static_int = 10
|
||||
assert StaticMemberTest.static_int == 10
|
||||
Loading…
Add table
Add a link
Reference in a new issue