def main(): for k in range(10): print f(g(k)) print A().h(8) # Real test. bobj = B() for k in range(10000): x = random.random() y = bobj.h(x)
from b import A import c.f def f(x, y): """ :type x: int :type y: int :rtype: c.f.D """ # TODO: A should collide with c.f.D() return A() # TODO: the string arguments here should collide with the 'int' in the docstring # and produce an error. x = f("", "") # should work fine x.b() # should report an error x.c()
def f(): b.init() c.init() b.f() c.f() return
from c import f print(f())