diff options
author | Jörn Hees <joernhees@users.noreply.github.com> | 2015-04-23 01:46:02 +0200 |
---|---|---|
committer | Jörn Hees <joernhees@users.noreply.github.com> | 2015-04-23 01:46:02 +0200 |
commit | fe3fa522b48e787fa87dc1156e1a10bd6671b62c (patch) | |
tree | 67927f70bf5dbcdaf337dda4ec321836ccc2d045 | |
parent | f81e0b23d61e3cfda053bf33a7665bdea8039df4 (diff) | |
parent | 354c352b6a1e18c07284b7451fad61ab104f8006 (diff) | |
download | rdflib-fe3fa522b48e787fa87dc1156e1a10bd6671b62c.tar.gz |
Merge pull request #482 from ggstuart/patch-1
fix broken doc example, thanks @ggstuart
-rw-r--r-- | docs/intro_to_creating_rdf.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |