@@ -87,6 +87,7 @@ class MemberContext:
87
87
88
88
def __init__ (
89
89
self ,
90
+ * ,
90
91
is_lvalue : bool ,
91
92
is_super : bool ,
92
93
is_operator : bool ,
@@ -126,16 +127,16 @@ def copy_modified(
126
127
original_type : Type | None = None ,
127
128
) -> MemberContext :
128
129
mx = MemberContext (
129
- self .is_lvalue ,
130
- self .is_super ,
131
- self .is_operator ,
132
- self .original_type ,
133
- self .context ,
134
- self .msg ,
135
- self .chk ,
136
- self .self_type ,
137
- self .module_symbol_table ,
138
- self .no_deferral ,
130
+ is_lvalue = self .is_lvalue ,
131
+ is_super = self .is_super ,
132
+ is_operator = self .is_operator ,
133
+ original_type = self .original_type ,
134
+ context = self .context ,
135
+ msg = self .msg ,
136
+ chk = self .chk ,
137
+ self_type = self .self_type ,
138
+ module_symbol_table = self .module_symbol_table ,
139
+ no_deferral = self .no_deferral ,
139
140
)
140
141
if messages is not None :
141
142
mx .msg = messages
@@ -152,11 +153,11 @@ def analyze_member_access(
152
153
name : str ,
153
154
typ : Type ,
154
155
context : Context ,
156
+ * ,
155
157
is_lvalue : bool ,
156
158
is_super : bool ,
157
159
is_operator : bool ,
158
160
msg : MessageBuilder ,
159
- * ,
160
161
original_type : Type ,
161
162
chk : mypy .checker .TypeChecker ,
162
163
override_info : TypeInfo | None = None ,
@@ -190,12 +191,12 @@ def analyze_member_access(
190
191
are not available via the type object directly)
191
192
"""
192
193
mx = MemberContext (
193
- is_lvalue ,
194
- is_super ,
195
- is_operator ,
196
- original_type ,
197
- context ,
198
- msg ,
194
+ is_lvalue = is_lvalue ,
195
+ is_super = is_super ,
196
+ is_operator = is_operator ,
197
+ original_type = original_type ,
198
+ context = context ,
199
+ msg = msg ,
199
200
chk = chk ,
200
201
self_type = self_type ,
201
202
module_symbol_table = module_symbol_table ,
0 commit comments