Skip to content

Commit 0249e7d

Browse files
committed
Remove test code; stop importing namedtuple
1 parent fa00b7d commit 0249e7d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rdflib/plugins/shared/jsonld/context.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# https://github.com/RDFLib/rdflib-jsonld/blob/feature/json-ld-1.1/rdflib_jsonld/context.py
99
from __future__ import annotations
1010

11-
from collections import namedtuple
11+
from collections.abc import Collection, Generator
1212
from typing import (
1313
TYPE_CHECKING,
1414
Any,
@@ -723,6 +723,3 @@ class Term(NamedTuple):
723723
#: If true, marks the term as protected, meaning it cannot be overridden by a subcontext.
724724
#: See https://www.w3.org/TR/json-ld11/#protected-term-definitions
725725
protected: bool = False
726-
727-
728-
Context.terms

0 commit comments

Comments
 (0)