Skip to content

Commit b6d1ad1

Browse files
committed
Fix style
1 parent 4c44ef2 commit b6d1ad1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/deque/DequeBuiltins.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,10 @@ PNone doGeneric(VirtualFrame frame, PDeque self, Object iterable, Object maxlenO
190190
}
191191
self.setMaxLength(maxlen);
192192
} catch (PException e) {
193-
// CastToJavaIntExactNode will throw a TypeError; we need to convert to OverflowError
193+
/*
194+
* CastToJavaIntExactNode will throw a TypeError; we need to convert to
195+
* OverflowError
196+
*/
194197
e.expect(TypeError, isTypeErrorProfile);
195198
throw raise(OverflowError, ErrorMessages.PYTHON_INT_TOO_LARGE_TO_CONV_TO, "int");
196199
} catch (CannotCastException e) {

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/deque/DequeIterBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static PDequeIter doGeneric(PDequeIter self) {
8888
@Builtin(name = SpecialMethodNames.__NEXT__, minNumOfPositionalArgs = 1)
8989
@GenerateNodeFactory
9090
public abstract static class DequeIterNextNode extends PythonUnaryBuiltinNode {
91-
91+
9292
public abstract Object execute(PDequeIter self);
9393

9494
@Specialization

0 commit comments

Comments
 (0)