OILS / mycpp / examples / invalid_global.py View on Github | oilshell.org

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