Skip to content

Commit cbd4935

Browse files
committed
Removed the error-prone JavaString constructor
1 parent bbba0ce commit cbd4935

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

javaobj.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,6 @@ class JavaString(str):
315315
"""
316316
Represents a Java String
317317
"""
318-
def __init__(self, *args, **kwargs):
319-
str.__init__(self, *args, **kwargs)
320-
321318
def __eq__(self, other):
322319
if not isinstance(other, str):
323320
return False

0 commit comments

Comments
 (0)