From 354c352b6a1e18c07284b7451fad61ab104f8006 Mon Sep 17 00:00:00 2001 From: Graeme Stuart Date: Wed, 22 Apr 2015 23:26:45 +0100 Subject: fix broken example The example updates age but should be updating FOAF.age in order to produce the required output --- docs/intro_to_creating_rdf.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/intro_to_creating_rdf.rst b/docs/intro_to_creating_rdf.rst index 2b52ae26..1a2b8de5 100644 --- a/docs/intro_to_creating_rdf.rst +++ b/docs/intro_to_creating_rdf.rst @@ -91,7 +91,7 @@ For some properties, only one value per resource makes sense (i.e they are *func print "Bob is ", g.value( bob, FOAF.age ) # prints: Bob is 42 - g.set( ( bob, age, Literal(43) ) ) # replaces 42 set above + g.set( ( bob, FOAF.age, Literal(43) ) ) # replaces 42 set above print "Bob is now ", g.value( bob, FOAF.age ) # prints: Bob is now 43 -- cgit v1.2.1