Skip to content

Commit 18ea454

Browse files
committed
Fixed missing code block
1 parent a734974 commit 18ea454

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -468,15 +468,15 @@ Note that even if it is not explicitly given, the `DefaultObjectTransformer`
468468
will be also be used, as it is added automatically by `javaobj` if it is
469469
missing from the given list.
470470

471-
.. code-block:: python
472-
473-
# Load the object using those transformers
474-
transformers = [
475-
CustomWriterTransformer(),
476-
RandomChildTransformer(),
477-
JavaRandomTransformer()
478-
]
479-
pobj = javaobj.loads("custom_objects.ser", *transformers)
480-
481-
# Here we show a field that doesn't belong to the class
482-
print(pobj.field_data["int_not_in_fields"]
471+
```python
472+
# Load the object using those transformers
473+
transformers = [
474+
CustomWriterTransformer(),
475+
RandomChildTransformer(),
476+
JavaRandomTransformer()
477+
]
478+
pobj = javaobj.loads("custom_objects.ser", *transformers)
479+
480+
# Here we show a field that doesn't belong to the class
481+
print(pobj.field_data["int_not_in_fields"]
482+
```

0 commit comments

Comments
 (0)