Skip to content

Commit

Permalink
Adjusting for rdflib.Graph.serialize interface change in 6.0
Browse files Browse the repository at this point in the history
- Caused by RDFLib/rdflib#1183
  • Loading branch information
mwatts15 committed Nov 28, 2021
1 parent 5f09923 commit fd39f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/adding_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ using contexts. The code below shows how to do that::

>>> # Serialize the data in the nquads format so we can see that all of our
>>> # statements are in the proper context
>>> print(g.serialize(format='nquads').decode('UTF-8'))
>>> print(g.serialize(format='nquads', encoding='UTF-8').decode('UTF-8'))
<http://example.org/BDW/entities/Widget#12> <http...> <http://example.org/data/imports/BDW_Widgets_2017-2018> .
<http://example.org/BDW/entities/Widget#12> <...

Expand Down

0 comments on commit fd39f57

Please sign in to comment.