File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,6 @@ class CConverter(metaclass=CConverterAutoRegister):
118
118
# the variable when passing it into the _impl function?
119
119
impl_by_reference = False
120
120
121
- # Should Argument Clinic add a '&' before the name of
122
- # the variable when passing it into PyArg_ParseTuple (AndKeywords)?
123
- parse_by_reference = True
124
-
125
121
#############################################################
126
122
#############################################################
127
123
## You shouldn't need to read anything below this point to ##
@@ -328,8 +324,7 @@ def parse_argument(self, args: list[str]) -> None:
328
324
elif self .subclass_of :
329
325
args .append (self .subclass_of )
330
326
331
- s = ("&" if self .parse_by_reference else "" ) + self .parser_name
332
- args .append (s )
327
+ args .append (f"&{ self .parser_name } " )
333
328
334
329
if self .length :
335
330
args .append (f"&{ self .length_name } " )
You can’t perform that action at this time.
0 commit comments