mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
sys.path.remove("") raises ValueError if the item is missing.
https://docs.python.org/3/library/functions.html#filter:
> filter(function, iterable) is equivalent to the generator expression (item
> for item in iterable if function(item))
fixes #11293