Update Python tests to not use flatstaticmethod access

Use Python class staticmethod syntax to access C++ static member functions,
such as Klass.memberfunction, instead of Klass_memberfunction.
Examples and test-suite changes in preparation for issue #2137.
This commit is contained in:
William S Fulton 2022-01-11 15:11:04 +00:00
commit cf8788c411
22 changed files with 52 additions and 74 deletions

View file

@ -140,6 +140,6 @@ if (nsoverload() != 1050):
raise RuntimeError(("nsoverload(const char *)"))
A_foo(1)
A.foo(1)
b = B()
b.foo(1)