diff options
| author | Nicholas Car <nicholas.car@surroundaustralia.com> | 2022-01-10 00:56:02 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-10 00:56:02 +1000 |
| commit | 09f1b0be0043f30a0892f9af3e7bf145f57f0827 (patch) | |
| tree | d1e42ce18da93ded9c02cdaf14fe52eed5446fe8 | |
| parent | da9c5a2f15723c6c9d6ff2ad495fbda464bd34a8 (diff) | |
| download | rdflib-09f1b0be0043f30a0892f9af3e7bf145f57f0827.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 d201e581..165ea76d 100644 --- a/rdflib/plugins/parsers/hext.py +++ b/rdflib/plugins/parsers/hext.py @@ -60,9 +60,7 @@ class HextuplesParser(Parser): o = BNode(value=tup[2].replace("_:", "")) else: # literal if tup[4] is None: - o = cast( - Literal, - Literal(tup[2], datatype=URIRef(tup[3]))) + o = Literal(tup[2], datatype=URIRef(tup[3])) else: o = cast( Literal, |
