@@ -69,8 +69,8 @@ class RemoteMap(object):
6969 It is used to provide a dict-like API to vim variables and options.
7070 """
7171
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."""
7474 self ._get = functools .partial (obj .request , get_method )
7575 self ._set = None
7676 if set_method :
@@ -120,17 +120,13 @@ class RemoteSequence(object):
120120 sequence instance, and the expression `nvim.windows[0]` is translated to
121121 session.request('nvim_list_wins')[0].
122122
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-
127123 One important detail about this class is that all methods will fetch the
128124 sequence into a list and perform the necessary manipulation
129125 locally(iteration, indexing, counting, etc).
130126 """
131127
132128 def __init__ (self , session , method ):
133- """Initialize a RemoteSequence with session, method and self_obj ."""
129+ """Initialize a RemoteSequence with session, method."""
134130 self ._fetch = functools .partial (session .request , method )
135131
136132 def __len__ (self ):
0 commit comments