OILS
/
mycpp
/
examples
/ invalid_global.py
View on Github
|
oilshell.org
18 lines, 7 significant
1
#!/usr/bin/env python2
2
"""
3
invalid_global.py
4
"""
5
from __future__ import print_function
6
7
from mycpp.mylib import log
8
9
10
class C:
11
12
def __init__(self):
13
# type: () -> None
14
self.i = 42
15
16
17
g1 = C()
18
g2 = C()