diff options
author | Remi Chateauneu <remi.chateauneu@gmail.com> | 2021-03-01 11:12:03 +0000 |
---|---|---|
committer | Remi Chateauneu <remi.chateauneu@gmail.com> | 2021-03-01 11:12:03 +0000 |
commit | 5c6e279820bb6f930a8e896fb4bf36cb80c18512 (patch) | |
tree | 17dd5273ef1feb383f7c364778a41c687de76aa9 | |
parent | 9652eca3e9557e728879c6339c752b8451ecd47f (diff) | |
download | rdflib-5c6e279820bb6f930a8e896fb4bf36cb80c18512.tar.gz |
Cleaner code.
-rwxr-xr-x | rdflib/plugins/parsers/notation3.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/plugins/parsers/notation3.py b/rdflib/plugins/parsers/notation3.py index d67185f5..e4eaccb7 100755 --- a/rdflib/plugins/parsers/notation3.py +++ b/rdflib/plugins/parsers/notation3.py @@ -1584,7 +1584,7 @@ class SinkParser: if ch == delim1: j = i continue - elif ch in "\"'" and ch != delim1: + elif ch in ['"', "'"] and ch != delim1: ustr += ch j = i + 1 continue |