Skip to content

Commit

Permalink
Fix print in resource doctest for py3
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasl committed Oct 29, 2013
1 parent b027f7f commit 73fb2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
Resources can be sliced (like graphs, but the subject is fixed)::
>>> for name in person[FOAF.name]:
... print name
... print(name)
Some Body
>>> person[FOAF.name : Literal("Some Body")]
True
Expand Down

0 comments on commit 73fb2a2

Please sign in to comment.