summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rdflib/container.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdflib/container.py b/rdflib/container.py
index 5960d0a7..3001ba46 100644
--- a/rdflib/container.py
+++ b/rdflib/container.py
@@ -14,7 +14,7 @@ class Container(object):
>>> from rdflib import Graph, BNode, Literal, Bag
>>> g = Graph()
>>> b = Bag(g, BNode(), [Literal("One"), Literal("Two"), Literal("Three")])
- >>> print(g.serialize(format="turtle").decode())
+ >>> print(g.serialize(format="turtle"))
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
<BLANKLINE>
[] a rdf:Bag ;
@@ -30,7 +30,7 @@ class Container(object):
>>> # add a new item
>>> b.append(Literal("Hello"))
- >>> print(g.serialize(format="turtle").decode())
+ >>> print(g.serialize(format="turtle"))
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
<BLANKLINE>
[] a rdf:Bag ;