def get_location(self, filename, position):
        f = self.get_file(filename)

        if isinstance(position, int):
            return SourceLocation.from_offset(self, f, position)

        return SourceLocation.from_position(self, f, position[0], position[1])
Obtain a SourceLocation for a file in this translation unit.
dataset/ETHPy150Open punchagan/cinspect/cinspect/vendor/clang/cindex.py/TranslationUnit.get_location