We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96897b9 commit 3463036Copy full SHA for 3463036
java2python/config/default.py
@@ -211,6 +211,7 @@
211
(r'\.getInterfaces\(\)', '.__bases__'),
212
(r'String\.valueOf\((.*?)\)', r'str(\1)'),
213
#(r'(\s)(\S*?)(\.toString\(\))', r'\1str(\2)'),
214
+ (r'Math\.', ''),
215
]
216
217
test/Math0.java
@@ -0,0 +1,6 @@
1
+class Math0 {
2
+ public static void main(String[] args) {
3
+ System.out.println(Math.abs(-42));
4
+ System.out.println(Math.abs(-0.5));
5
+ }
6
+}
0 commit comments