Commits

Jim Baker committed ba959ae

Remove unnecessary imports

Comments (0)

Files changed (1)

src/org/python/core/PyJavaType.java

                     // Need to special case collections that implement both Iterable and Map. Ignore the conflict
                     // in having duplicate __iter__ added (see getCollectionProxies), while still allowing each
                     // path on the inheritance hierarchy to get an __iter__. Annoying but necessary logic.
+                    // See http://bugs.jython.org/issue1878
                     if (method.equals("__iter__") && proxySet.equals(Generic.set(Iterable.class, Map.class))) {
                         continue;
                     }