diff options
Diffstat (limited to 'rdflib/parser.py')
-rw-r--r-- | rdflib/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/parser.py b/rdflib/parser.py index 4f8505d9..85625d08 100644 --- a/rdflib/parser.py +++ b/rdflib/parser.py @@ -372,7 +372,7 @@ def create_input_source( location = str(source) elif isinstance(source, bytes): data = source - elif hasattr(source, "read") and not isinstance(source, Namespace): # type: ignore[unreachable] + elif hasattr(source, "read") and not isinstance(source, Namespace): f = source input_source = InputSource() if hasattr(source, "encoding"): |