https://github.com/ameily/pypsi/blob/a62b4f0418be392bf0d3a4d6509ae44412c231c5/pypsi/completers.py#L148