Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 24 lines (14 sloc) 0.356 kb
8bd4350 Add import tests/examples
Samvel Khalatyan authored
1 #!/usr/bin/env python3
2
3 import module
4
5 print("module.a = {0}".format(module.a))
6
7 module.change_a()
8
9 print("module.a = {0}".format(module.a))
10
11 print()
12
13 from module import *
14
15 print("module.a = {0}".format(module.a))
16 print("a = {0}".format(a))
17
18 # still changes module variable
19 #
20 change_a()
21
22 print("module.a = {0}".format(module.a))
23 print("a = {0}".format(a))
Something went wrong with that request. Please try again.