summaryrefslogtreecommitdiff
path: root/rdflib/plugins/shared/jsonld/context.py
diff options
context:
space:
mode:
authorIwan Aucamp <aucampia@gmail.com>2023-04-10 12:08:55 +0200
committerGitHub <noreply@github.com>2023-04-10 12:08:55 +0200
commit20f1235d5f3b639a47cad59967fe93ed9e41dd90 (patch)
treecf9bf2744c8d836101bea0ef1a8472bcf59695fe /rdflib/plugins/shared/jsonld/context.py
parent61f8a8d16a0812a6ebbe13ccaa3557f9fc4d0618 (diff)
downloadrdflib-20f1235d5f3b639a47cad59967fe93ed9e41dd90.tar.gz
refactor: eliminate inheritance from object (#2339)
This change removes the redundant inheritance from `object` (i.e. `class Foo(object): pass`) that is no longer needed in Python 3 and is a relic from Python 2.
Diffstat (limited to 'rdflib/plugins/shared/jsonld/context.py')
-rw-r--r--rdflib/plugins/shared/jsonld/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/plugins/shared/jsonld/context.py b/rdflib/plugins/shared/jsonld/context.py
index b19f6673..2f6cedbd 100644
--- a/rdflib/plugins/shared/jsonld/context.py
+++ b/rdflib/plugins/shared/jsonld/context.py
@@ -69,7 +69,7 @@ UNDEF = Defined(0)
URI_GEN_DELIMS = (":", "/", "?", "#", "[", "]", "@")
-class Context(object):
+class Context:
def __init__(
self,
source: Optional[Any] = None,