diff options
author | Nicholas Car <nicholas.car@surroundaustralia.com> | 2022-01-10 00:56:08 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 00:56:08 +1000 |
commit | 73cfe6ee3ae386610a6214ea5096170d4f004b37 (patch) | |
tree | 9acc769452e884998a7b566d619d6bba6b8607e3 | |
parent | 09f1b0be0043f30a0892f9af3e7bf145f57f0827 (diff) | |
download | rdflib-73cfe6ee3ae386610a6214ea5096170d4f004b37.tar.gz |
Update rdflib/plugins/parsers/hext.py
Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
-rw-r--r-- | rdflib/plugins/parsers/hext.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rdflib/plugins/parsers/hext.py b/rdflib/plugins/parsers/hext.py index 165ea76d..8982dc08 100644 --- a/rdflib/plugins/parsers/hext.py +++ b/rdflib/plugins/parsers/hext.py @@ -62,9 +62,7 @@ class HextuplesParser(Parser): if tup[4] is None: o = Literal(tup[2], datatype=URIRef(tup[3])) else: - o = cast( - Literal, - Literal(tup[2], lang=tup[4])) + o = Literal(tup[2], lang=tup[4]) # 6 - context if tup[5] is not None: |