Skip to content

Commit c3805f5

Browse files
committed
Fixed missing parenthesis in README
Thanks @UruDev :)
1 parent d72f299 commit c3805f5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,8 @@ transformers = [
484484
]
485485
pobj = javaobj.loads("custom_objects.ser", *transformers)
486486

487-
# Here we show a field that doesn't belong to the class
488-
print(pobj.field_data["int_not_in_fields"]
487+
# Here we show a field that isn't visible from the class description
488+
# The field belongs to the class but it's not serialized by default because
489+
# it's static. See: https://stackoverflow.com/a/16477421/12621168
490+
print(pobj.field_data["int_not_in_fields"])
489491
```

0 commit comments

Comments
 (0)