Go: fix overload functions with polymorphic issue

This commit is contained in:
Anthony Li 2014-10-06 20:01:38 +08:00
commit 41e9ccae7c

View file

@ -0,0 +1,9 @@
# Test import of modules content from within __init__.py
print("Testing %module(package=...) + python 'import' in __init__.py")
import sys
if sys.version_info < (3, 0):
import py2.pkg2.bar
print(" Finished importing py2.pkg2.bar")
else:
import py3.pkg2.bar
print(" Finished importing py3.pkg2.bar")