Closed farisachugthai closed 6 months ago
from pynvim.api.buffer import *
Doesn't correctly import Buffer. __all__ is incorrectly defined as a tuple and as a result it tries importing each individual letter instead of the actual class.
__all__
In addition, the python reference explicitly defines that __all__ should be a list.
This already has been fixed by #492 (ac03f5cbfe16), and released as a part of pynvim 0.5.
Doesn't correctly import Buffer.
__all__
is incorrectly defined as a tuple and as a result it tries importing each individual letter instead of the actual class.In addition, the python reference explicitly defines that
__all__
should be a list.