Skip to content

Commit 00a903c

Browse files
committed
Adding forgetting test zip file and correcting style.
1 parent f0b4ebb commit 00a903c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Binary file not shown.

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/zipimporter/PZipImporter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class PZipImporter extends PythonBuiltinObject {
6464
private static enum EntryType {
6565
IS_SOURCE,
6666
IS_PACKAGE
67-
};
67+
}
6868

6969
private static class SearchOrderEntry {
7070

@@ -103,7 +103,7 @@ public static enum ModuleInfo {
103103
NOT_FOUND,
104104
MODULE,
105105
PACKAGE
106-
};
106+
}
107107

108108
public PZipImporter(LazyPythonClass cls) {
109109
super(cls);

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/zipimporter/ZipImporterBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public abstract static class FindModuleNode extends PythonTernaryBuiltinNode {
260260
* @param fullname
261261
* @param path This optional argument is ignored. It’s there for compatibility with the
262262
* importer protocol.
263-
* @return
263+
* @return the zipimporter or none, if the module is not found
264264
*/
265265
@Specialization
266266
public Object doit(PZipImporter self, String fullname, @SuppressWarnings("unused") Object path) {

0 commit comments

Comments
 (0)