Home | History | Annotate | Download | only in python2.7

Lines Matching refs:pname

139         pname = caller.__name__
144 parent = self.modules[pname]
148 if pname.count(".") < level:
150 pname = ".".join(pname.split(".")[:-level])
151 parent = self.modules[pname]
155 parent = self.modules[pname]
159 if '.' in pname:
160 i = pname.rfind('.')
161 pname = pname[:i]
162 parent = self.modules[pname]
163 assert parent.__name__ == pname