def getJumpRelativeUp(self, sourcePath):
        implExts = (".cpp", ".c")
        headExts = (".h", ".hpp")
    
        sourceDirPath = os.path.dirname(sourcePath)
        sourceName, sourceExt = os.path.splitext(sourcePath)
        
        candidateExts = None
        if sourceExt in implExts:
            candidateExts = headExts
        elif headExts in sourceExt:
            candidateExts = implExts
        
        if candidateExts:
            sourceFileName = os.path.basename(sourceName)
            for ext in candidateExts:
                targetPath = "%s%s" % (sourceFileName, ext)
                fullPath = jump.recurseProjectPaths(self.project, sourceDirPath, targetPath)
                if fullPath:
                    return fullPath
dataset/ETHPy150Open joehewitt/devon/devon/jumpers/c.py/CJumper.getJumpRelativeUp/swapped operands of `in`