Skip to content

Commit 9fc5b5f

Browse files
committed
fix whitespace
1 parent 2fb6a43 commit 9fc5b5f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/runtime/classbase.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,12 @@ public static IntPtr tp_str(IntPtr ob)
242242

243243
//First check which type in the object hierarchy provides ToString()
244244
//ToString has two "official" overloads so loop over GetMethods to get the one without parameters
245-
var method = type.GetMethod("ToString", new Type[]{});
246-
if (method.DeclaringTyppe != typeof(object))
247-
{
245+
var method = type.GetMethod("ToString", new Type[]{});
246+
if (method.DeclaringTyppe != typeof(object))
247+
{
248248
//match! something other than object provides a parameter-less overload of ToString
249-
return Runtime.Pystring_FromString(co.inst.ToString());
250-
}
249+
return Runtime.Pystring_FromString(co.inst.ToString());
250+
}
251251

252252
//If the object defines __repr__, call it.
253253
System.Reflection.MethodInfo reprMethodInfo = instType.GetMethod("__repr__");

0 commit comments

Comments
 (0)