class A pass class Test def main is shared A.fooo # .error. Cannot find a definition for "fooo" in "A" # used to say: Cannot find a definition for "fooo" in "A" whose type is "Type" # which was confusing if Path.existss('foo') # .error. Cannot find a definition for "existss" in "Path" print 'foo' # used to say: Cannot find a definition for "existss" in Type. # which was confusing