diff options
author | Iwan Aucamp <aucampia@gmail.com> | 2023-04-10 12:08:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 12:08:55 +0200 |
commit | 20f1235d5f3b639a47cad59967fe93ed9e41dd90 (patch) | |
tree | cf9bf2744c8d836101bea0ef1a8472bcf59695fe /rdflib/plugins/shared/jsonld/context.py | |
parent | 61f8a8d16a0812a6ebbe13ccaa3557f9fc4d0618 (diff) | |
download | rdflib-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.py | 2 |
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, |