Skip to content

Commit 776e894

Browse files
committed
Fixed Python 2 syntax compatibility
1 parent 8271d5b commit 776e894

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

javaobj/v2/beans.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ class FieldType(IntEnum):
9797
ARRAY = TypeCode.TYPE_ARRAY.value
9898
OBJECT = TypeCode.TYPE_OBJECT.value
9999

100-
def type_code(self) -> TypeCode:
100+
def type_code(self):
101+
# type: () -> TypeCode
101102
return TypeCode(self.value)
102103

103104

0 commit comments

Comments
 (0)