Skip to content

Commit 8d81cff

Browse files
FGtatsurobfredl
authored andcommitted
Fix deprecated API names in pydoc. (#312)
1 parent af652df commit 8d81cff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neovim/api/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ class RemoteSequence(object):
118118
119119
For example, the 'windows' property of the `Nvim` class is a RemoteSequence
120120
sequence instance, and the expression `nvim.windows[0]` is translated to
121-
session.request('vim_get_windows')[0].
121+
session.request('nvim_list_wins')[0].
122122
123123
It can also receive an optional self_obj that will be passed as first
124124
argument of the request. For example, `tabpage.windows[0]` is translated
125-
to: session.request('tabpage_get_windows', tabpage_instance)[0].
125+
to: session.request('nvim_tabpage_list_wins', tabpage_instance)[0].
126126
127127
One important detail about this class is that all methods will fetch the
128128
sequence into a list and perform the necessary manipulation

0 commit comments

Comments
 (0)