@@ -69,8 +69,8 @@ class RemoteMap(object):
69
69
It is used to provide a dict-like API to vim variables and options.
70
70
"""
71
71
72
- def __init__ (self , obj , get_method , set_method = None , self_obj = None ):
73
- """Initialize a RemoteMap with session, getter/setter and self_obj ."""
72
+ def __init__ (self , obj , get_method , set_method = None ):
73
+ """Initialize a RemoteMap with session, getter/setter."""
74
74
self ._get = functools .partial (obj .request , get_method )
75
75
self ._set = None
76
76
if set_method :
@@ -120,17 +120,13 @@ class RemoteSequence(object):
120
120
sequence instance, and the expression `nvim.windows[0]` is translated to
121
121
session.request('nvim_list_wins')[0].
122
122
123
- It can also receive an optional self_obj that will be passed as first
124
- argument of the request. For example, `tabpage.windows[0]` is translated
125
- to: session.request('nvim_tabpage_list_wins', tabpage_instance)[0].
126
-
127
123
One important detail about this class is that all methods will fetch the
128
124
sequence into a list and perform the necessary manipulation
129
125
locally(iteration, indexing, counting, etc).
130
126
"""
131
127
132
128
def __init__ (self , session , method ):
133
- """Initialize a RemoteSequence with session, method and self_obj ."""
129
+ """Initialize a RemoteSequence with session, method."""
134
130
self ._fetch = functools .partial (session .request , method )
135
131
136
132
def __len__ (self ):
0 commit comments