pybind11/example/example-inheritance.py

13 lines
289 B
Python
Raw Normal View History

from __future__ import print_function
import sys
sys.path.append('.')
from example import return_class_1
from example import return_class_2
from example import return_none
2016-04-13 12:42:17 +00:00
print(type(return_class_1()).__name__)
print(type(return_class_2()).__name__)
print(type(return_none()).__name__)