diff options
author | David Robillard <d@drobilla.net> | 2020-10-14 13:43:35 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:59 +0100 |
commit | 55d5cb529d56f9eced883cd0a1c96bd6237924d8 (patch) | |
tree | 001cfb5eefea2df82ddeff57de13cf908ddfdda9 | |
parent | f73129cbe9b72319c41f71d3182a6c5e7b2cb95b (diff) | |
download | serd-55d5cb529d56f9eced883cd0a1c96bd6237924d8.tar.gz serd-55d5cb529d56f9eced883cd0a1c96bd6237924d8.tar.bz2 serd-55d5cb529d56f9eced883cd0a1c96bd6237924d8.zip |
fixup! WIP: Generate Sphinx documentation
-rw-r--r-- | bindings/python/overview.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/overview.rst b/bindings/python/overview.rst index 582c3762..a43abc7c 100644 --- a/bindings/python/overview.rst +++ b/bindings/python/overview.rst @@ -116,7 +116,7 @@ wrappers for more fundamental ones. All node constructors reduce to one of the following: * :func:`serd.plain_literal` - A string with optional language, like - `"hallo"@de` in Turtle. + ``"hallo"@de`` in Turtle. * :func:`serd.typed_literal` - A string with optional datatype, like ``"1.2E9"^^xsd:float`` in Turtle. @@ -594,7 +594,7 @@ Writing Files .. testcode:: env = serd.Env() - byte_sink = serd.ByteSink(filename="written.ttl") + byte_sink = serd.FileSink("written.ttl") writer = serd.Writer(world, serd.Syntax.TURTLE, 0, env, byte_sink) st = model.all().serialise(writer.sink(), 0) writer.finish() |