Skip to content

Commit 2689fae

Browse files
committed
Fixed missed hint syntax
See #35
1 parent b24acff commit 2689fae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

javaobj/v2/beans.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def dump(self, indent=0):
9898
"""
9999
return "\t" * indent + str(self)
100100

101-
def validate(self) -> None:
101+
def validate(self):
102102
"""
103103
Validity check on the object
104104
"""

javaobj/v2/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def __init__(self, fd, transformers):
105105
} # type: Dict[int, Callable[[int], ParsedJavaContent]]
106106

107107
def run(self):
108-
# type: () -> List[ParsedJavaContent]:
108+
# type: () -> List[ParsedJavaContent]
109109
"""
110110
Parses the input stream
111111
"""
@@ -317,7 +317,7 @@ def _read_new_string(self, type_code):
317317
self._set_handle(handle, java_str)
318318
return java_str
319319

320-
def _read_classdesc(self) -> JavaClassDesc:
320+
def _read_classdesc(self):
321321
# type: () -> JavaClassDesc
322322
"""
323323
Reads a class description with its type code

0 commit comments

Comments
 (0)