Skip to content

Commit 708db54

Browse files
committed
Fix style.
1 parent 0baf04e commit 708db54

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/SocketModuleBuiltins.java

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

9696
@CoreFunctions(defineModule = "_socket")
9797
public class SocketModuleBuiltins extends PythonBuiltins {
98-
// Address families
98+
// address families
9999
private static final int AF_UNSPEC = 0;
100100
private static final int AF_INET = 2;
101101
private static final int AF_INET6 = 30;

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/bytes/BytesNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public static BytesJoinNode create() {
132132

133133
@ImportStatic({PGuards.class, SpecialMethodNames.class})
134134
public abstract static class ToBytesNode extends PNodeWithContext {
135-
private static final String DEFAULT_FORMAT = "expected a bytes-like object, %p found";
135+
private static final String DEFAULT_FORMAT = "expected a bytes-like object, %p found";
136136

137137
@Child private PRaiseNode raise = PRaiseNode.create();
138138
@Child private SequenceStorageNodes.ToByteArrayNode toByteArrayNode;

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/literal/FormatStringLiteralNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ protected static int[][] createTokens(FormatStringLiteralNode node, StringPart[]
348348
boolean triple = false;
349349
boolean inString = true;
350350
index++;
351-
if (index < len && startq == text.charAt(index )) {
351+
if (index < len && startq == text.charAt(index)) {
352352
if (index + 1 < len && startq == text.charAt(index + 1)) {
353353
// we are in ''' or """ string
354354
triple = true;

0 commit comments

Comments
 (0)