Exemple #1
0
import b

b.foo(<arg1>)
Exemple #2
0
def bar() -> int:
    return foo()
Exemple #3
0
import b

b.foo(None)
b.foo(5)
b.foo("5")
b.foo(A())
Exemple #4
0
def some_function():
    logger.debug('%s %s' % ('a', 'b'));
    logger.info('in some_function!')
    foo()
Exemple #5
0
from b import foo
from c import bar1

foo()
bar1()
print "Goodbye, World!"
Exemple #6
0
import sys
sys.path.append('..')
import cimport
import c
import b
import d.a
import d.b
b.foo()
try:
	print d.a.foo()
	assert 0
except AttributeError:
	pass
assert d.a.bar() == 42
Exemple #7
0
def foo():
    from b import foo

    foo()
Exemple #8
0
import b

b.foo()
b.bar()
Exemple #9
0
from b import foo
foo()
print "Goodbye, World!"