Skip to content

Commit 6f97e54

Browse files
committed
Clarify intent
1 parent 7ea45c3 commit 6f97e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/methodbinder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ internal Binding Bind(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, Meth
375375
if (clrtype != null)
376376
{
377377
var typematch = false;
378-
if (pi[n].ParameterType != typeof(object) && pi[n].ParameterType != clrtype)
378+
if ((pi[n].ParameterType != typeof(object)) && (pi[n].ParameterType != clrtype))
379379
{
380380
IntPtr pytype = Converter.GetPythonTypeByAlias(pi[n].ParameterType);
381381
pyoptype = Runtime.PyObject_Type(op);

0 commit comments

Comments
 (0)