Commits

Jim Baker committed 2dad9b9

Better TypeError message for MRO conflict on Java supertypes

Comments (0)

Files changed (1)

src/org/python/core/PyJavaType.java

                         continue;
                     }
                     throw Py.TypeError(String.format("Supertypes that share a modified attribute "
-                            + " have an MRO conflict[attribute=%s, types=%s, this=%s]",
+                            + "have an MRO conflict[attribute=%s, supertypes=%s, type=%s]",
                             method, types, this.getName()));
                 }
             }