Use Python's ast library to locate definition more accurate definition.