commit | d7efa4ff7b04f987cdb3a3a9d1649be8f0a78bc1 | [log] [tgz] |
---|---|---|
author | Wenzel Jakob <wenzel.jakob@epfl.ch> | Wed Apr 13 13:45:09 2016 +0200 |
committer | Wenzel Jakob <wenzel.jakob@epfl.ch> | Wed Apr 13 13:51:33 2016 +0200 |
tree | 714d238b60da234cdb51248f24b500dae0fa4e0b | |
parent | d40885a1e656939a6f2673b30a4e33a603e7814b [diff] [blame] |
return best representation of polymorphic types (fixes #105)
diff --git a/example/example16.py b/example/example16.py new file mode 100644 index 0000000..82102ea --- /dev/null +++ b/example/example16.py
@@ -0,0 +1,12 @@ +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 + +print(type(return_class_1())) +print(type(return_class_2())) +print(type(return_none()))