Skip to content

Commit 11ca5c8

Browse files
committed
Fix style.
1 parent 4cdf1f0 commit 11ca5c8

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/PythonObjectNativeWrapperMR.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,6 @@ Object doImFunc(PBuiltinMethod object, @SuppressWarnings("unused") String key) {
426426
return getToSulongNode().execute(object.getFunction());
427427
}
428428

429-
// @Specialization(guards = {"isMemoryView(object)", "eq(MEMORYVIEW_FLAGS)" })
430-
// Object doImFunc(PythonObject object, @SuppressWarnings("unused") String key,
431-
// @Cached("create()") ReadAttributeFromObjectNode readAttrNode) {
432-
// return readAttrNode.execute(object, NativeMemberNames.MEMORYVIEW_FLAGS);
433-
// }
434-
435429
@Fallback
436430
Object doGeneric(Object object, String key) {
437431
// This is the preliminary generic case: There are native members we know that they

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/memoryview/PMemoryView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
public class PMemoryView extends PythonBuiltinObject {
4747

48-
public PMemoryView(PythonClass cls, Object obj) {
48+
public PMemoryView(PythonClass cls, @SuppressWarnings("unused") Object obj) {
4949
super(cls);
5050
}
5151

0 commit comments

Comments
 (0)