Commits

Anthony Tuininga  committed c53c9fb

Tweaked to work with Python 3.x.

  • Participants
  • Parent commits 1c57d0f

Comments (0)

Files changed (8)

File samples/relimport/pkg1/__init__.py

-print "importing pkg1"
+import sys
+
+sys.stdout.write("importing pkg1\n")
+
 from . import sub1
 from . import pkg2

File samples/relimport/pkg1/pkg2/__init__.py

-print "importing pkg1.pkg2"
+import sys
+
+sys.stdout.write("importing pkg1.pkg2\n")
+
 from . import sub3
 from .. import sub4

File samples/relimport/pkg1/pkg2/sub3.py

-print "importing pkg1.pkg2.sub3"
+import sys
+
+sys.stdout.write("importing pkg1.pkg2.sub3\n")
+
 from . import sub5
 from .. import sub6

File samples/relimport/pkg1/pkg2/sub5.py

-print "importing pkg1.pkg2.sub5"
+import sys
+
+sys.stdout.write("importing pkg1.pkg2.sub5\n")
+

File samples/relimport/pkg1/sub1.py

-print "importing pkg1.sub1"
+import sys
+
+sys.stdout.write("importing pkg1.sub1\n")
+
 from . import sub2

File samples/relimport/pkg1/sub2.py

-print "importing pkg1.sub2"
+import sys
+
+sys.stdout.write("importing pkg1.sub2\n")
+

File samples/relimport/pkg1/sub4.py

-print 'importing pkg1.sub4'
+import sys
+
+sys.stdout.write("importing pkg1.sub4\n")
+

File samples/relimport/pkg1/sub6.py

-print "importing pkg1.sub6"
+import sys
+
+sys.stdout.write("importing pkg1.sub6\n")
+