Skip to content

Commit 30c16af

Browse files
committed
Rename None to None_
1 parent a0c8965 commit 30c16af

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

java2python/lib/defaultconfig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@
179179
'not':'not_',
180180
'or':'or_',
181181
'print':'print_',
182+
'None':'None_',
182183
}
183184

184185

java2python/tests/Keywords.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,9 @@ public static void main(String[] args) {
3131

3232
String str = "this is str";
3333
Assert.assertEquals(str, "this is str");
34+
35+
String None = "this is None";
36+
Assert.assertEquals(None, "this is None");
37+
3438
}
3539
}

0 commit comments

Comments
 (0)